简体   繁体   English

XCode给我以下“ Apple Mach-O链接器”警告

[英]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. XCode v.6.3。
  • iOS Simulator v.8.3.0. iOS模拟器v.8.3.0。
  • OSX v.10.10.3. OSX版本10.10.3。
  • Using CocoaPods too. 也使用CocoaPods。

How to prevent XCode from generating this warnings? 如何防止XCode生成此警告?

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 以获得更多参考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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