首页 > 代码库 > iOS "directory not found for option '-L/Users/.../Pods/build/Debug-iphoneos"解决方案

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

问题重述:

在删掉原来工作空间,重新install pods之后,遇到warning:

<span style="font-size:14px;"><span style="font-size:12px;">ld: warning: directory not found for option '-L/Users/.../Pods/build/Debug-iphoneos'</span></span>


解决方案:

在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



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