ld: warning: directory not found for option ''

iOS开发中经常遇到这样的警告,如图所示:

原因是存在未用到的目录。

解决方法:选择Build Settings,找到Search Paths中的Library Search Paths,如下图

删除没用到的路径就行了

PS:这些只是警告,并不影响正常编译运行,只是看起来有点不爽。

ld: warning: directory not found for option ''

时间: 2024-10-11 11:52:35

ld: warning: directory not found for option ''的相关文章

ld: warning: directory not found for option 去掉警告的方法

工程老是提示ld: warning: directory not found for option:xxxxxx 这种提示,通常是由于添加了第三方SDK,但是后来改了个名字或者去掉了SDK,但是在 Build Settings----->Search Paths----->Library Search Paths 中仍然没有删除掉对应的路径, 所以需要到Library Search Paths和Framework Search Paths中删除掉警告的路径,就OK了

解决ld: warning: directory not found for option警告

去掉警告的办法如下: 1选择工程, 编译的 (targets) 2选择 Build Settings 菜单 3查找 Library Search Paths 和 Framework Search Paths, 删掉编译报warning的路径即OK

【转】解决警告 warning: directory not found for option

转:http://blog.sina.com.cn/s/blog_6f72ff900101es6x.html 解决方法: 选择项目名称----->Targets----->Build Settings----->Search Paths----->Library Search Paths 删除对应路径 ld: warning: directory not found for option“XXXXXX” 很奇怪,为什么已经从项目中删除了文件和文件夹还是报这个警告呢? 去掉警告的办法

warning: directory not found for option ' '

解决: 选择项目名称-->Targets-->Build Settings-->Search Paths-->Library Search Paths 删除相应路径 warning: directory not found for option ' '

warning: directory not found for option ' '

解决: 选择项目名称-->Targets-->Build Settings-->Search Paths-->Library Search Paths 删除对应路径 warning: directory not found for option ' ',布布扣,bubuko.com warning: directory not found for option ' '

消除 Xcode7 中 directory not found for option 'xxxx' 警告

消除 Xcode7 中 directory not found for option 'xxxx' 警告 升级Xcode7之后,你会遇到一些警告信息,诸如以下一条: ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/Lib

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> 解决方案: 在T

directory not found for option

解决警告“warning: directory not found for option” 1.选择工程, 编译的 (targets) 2.选择 Build Settings 菜单 3.查找 Library Search Paths 和 Framework Search Paths, 删掉编译报warning的路径即OK 实际情况,我在 Library Search Paths修改了,但是在Framework Search Paths中没找到要修改的路径,不过问题解决了

ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _ff_h264_decode_mb_cabac from

导入环信的SDK后出现这样的waring ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _ff_h264_decode_mb_cabac from /Users/hanyutong/Desktop/万家灯火即时通讯插件/AppCanPlugin/AppCanPlugin/uexWanJiaDengHuo/Ea