iOS "directory not found for option '-L/Users/.../Pods/build/Debug-iphoneos"解决方式

问题重述:

在删掉原来工作空间,又一次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/11390918/warning-directory-not-found-for-option-l-users-saturngod-socket-io-with-ios

http://stackoverflow.com/questions/23489920/error-ld-library-not-found-for-lpods-with-cocoapods

方案參考:

http://stackoverflow.com/a/11391483/3458781



原文地址:https://www.cnblogs.com/cynchanpin/p/6704809.html