(null): Directory not found for option ‘-L/Users/crifan/dev/dev_root/daryun/JianDao/iOS-Client/JianDao/XMPPFramework/Vendor/facebook-ios-sdk/vendor/OCMock/Examples/iOS5Example/usr/lib’ |
搜:
swift Xcode Directory not found for option -L
Ray Wenderlich | Tutorials for Developers and Gamers
xcode – directory not found for option – Upgrade Swift 2.0 – Stack Overflow
看到提示的是link阶段的,所以去找找
然后即可编译成功,没有警告了:
[总结]
此处编译警告是由于之前不小心给:
Build Settings中的Search Paths中添加了对应的:
Header Search Paths
Library Search Paths
中添加了对应的framework的搜索路径
而现在不需要对应的framework后,应该去去掉这些路径,即可消除编译警告。
转载请注明:在路上 » [已解决]Xcode中iOS的swift程序编译出错:Directory not found for option -L