问题重述:
在删掉原来工作空间,重新install pods之后,遇到warning:
ld: warning: directory not found for option '-L/Users/.../Pods/build/Debug-iphoneos'
解决方案:
在Target-Build Settings中找到Search Paths-Library Search Paths,删除掉在警告中所示的该路径。
(原来这条路径是在我更新pods之前自己加上的。)
问题参考:
http://stackoverflow.com/questions/23489920/error-ld-library-not-found-for-lpods-with-cocoapods
方案参考:
http://stackoverflow.com/a/11391483/3458781
本文解决了在使用CocoaPods管理iOS项目依赖时出现的ld:warning:directorynotfoundforoption错误。通过删除Target-BuildSettings中的无效LibrarySearchPaths路径来修复该问题。





