首页 > 更新了Xcode7.1后以前用swift写的工程出现找不到路径的警告如何解决,能正常运行

更新了Xcode7.1后以前用swift写的工程出现找不到路径的警告如何解决,能正常运行

ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.1.sdk/Developer/Library/Frameworks'
想这样的警告,貌似不影响正常运行但看他很不顺眼,请问是什么原因造成的?怎么解决?


这种提示,通常是由于添加了第三方SDK,但是后来改了个名字或者去掉了SDK,但是在

Build Settings----->Search Paths----->Library Search Paths 中仍然没有删除掉对应的路径,

所以需要到Library Search Paths和Framework Search Paths中删除掉警告的路径,就OK了

【热门文章】
【热门文章】