解决警告 warning: directory not found for option

解决方法: 

选择项目名称----->Targets----->Build Settings----->Search Paths----->Library Search Paths
   删除对应路径
 
 

ld: warning: directory not found for option“XXXXXX”

很奇怪,为什么已经从项目中删除了文件和文件夹还是报这个警告呢?

去掉警告的办法如下:

1选择工程, 编译的 (targets)

2选择 Build Settings 菜单

3查找 Library Search Paths 和 Framework Search Paths, 删掉编译报warning的路径即OK

解决警告“ld: <wbr>warning: <wbr>directory <wbr>not <wbr>found <wbr>for <wbr>option”

解决警告“ld: <wbr>warning: <wbr>directory <wbr>not <wbr>found <wbr>for <wbr>option”

解决警告“ld: <wbr>warning: <wbr>directory <wbr>not <wbr>found <wbr>for <wbr>option”

转:http://blog.sina.com.cn/s/blog_6f72ff900101es6x.html

原文地址:https://www.cnblogs.com/ygm900/p/3595857.html