升级Xcode7后,旧工程编译出现directory not found for option '-F...错误

来源:互联网 发布:mac 文件归类 编辑:程序博客网 时间:2024/05/22 14:36

升级Xcode7后,旧工程编译出现黄色警告:

ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'

解决办法如下:

找到工程的"TARGETS",点击"(工程)Tests"选项,下拉找到"Search Paths"下的"Framework Search Paths",可以看到它的值为"iphoneos/Developer/Library/Frameworks",把这个路径清空即可。


另外,如果提示的错误是:

<directory not found for option '-L...

那么就清空"Search Paths"下的"LibrarySearch Paths"的值。



0 0
原创粉丝点击