2
ld: warning: directory not found for option '-L/Hagile /Workspace/Github/MyApp/Code/Libraries/FacebookSDK/build/facebook-ios-sdk.build/Release-iphoneos/facebook-ios-sdk.build/Objects-normal/armv7'
ld: warning: directory not found for option '-L/Hagile /Workspace/Github/MyApp/Code/Libraries/FacebookSDK/build/facebook-ios-sdk.build/Release-iphoneos/facebook-ios-sdk.build/Objects-normal/armv7s'
ld: warning: directory not found for option '-L/Hagile /Workspace/Github/MyApp/Code/Libraries/FacebookSDK/build/Release-iphoneos'
ld: warning: directory not found for option '-L/Hagile /Workspace/Github/MyApp/Code/Libraries/FacebookSDK/build/Release-iphonesimulator'
ld: warning: directory not found for option '-L/Hagile /Workspace/Github/MyApp/Code/Libraries/FacebookSDK/build/Release-universal'
ld: warning: directory not found for option '-L/Hagile /Workspace/Github/MyApp/Code/build/Debug-iphoneos'
ld: warning: directory not found for option '-L/Hagile /Workspace/Github/MyApp/Code/build/Release-iphoneos'
ld: warning: directory not found for option '-F/Hagile /Workspace/Github/MyApp/Code/Libraries/FacebookSDK/build'
ld: warning: directory not found for option '-F/Hagile /Workspace/Github/MyApp/Code/Pods/NewRelicAgent/NewRelic_iOS_Agent_5.2.1'

I am getting above warnings in these specifications:

  • XCode v.6.3.
  • iOS Simulator v.8.3.0.
  • OSX v.10.10.3.
  • Using CocoaPods too.

How to prevent XCode from generating this warnings?

Eric Aya
  • 69,000
  • 34
  • 174
  • 243
Hemang
  • 26,372
  • 18
  • 120
  • 180

1 Answers1

5

do like

targets -> build settings -->'Framework search Paths' and 'Library Search Paths' delete the particular path which one you want/which one not available and add again.

for more reference

Community
  • 1
  • 1
Anbu.Karthik
  • 80,161
  • 21
  • 166
  • 138