简体   繁体   中英

XCode giving me following “Apple Mach-O Linker” Warnings

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM