Apple Mach-O链接器警告“找不到选项的目录...” [英] Apple Mach-O Linker Warning "Directory Not Found For Option..."

查看:283
本文介绍了Apple Mach-O链接器警告“找不到选项的目录...”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想摆脱弹出的警告:

I simply want to rid of the warnings that pop up like these:

ld: warning: directory not found for option '-F/Users/m/Desktop/FacebookSDK'
ld: warning: directory not found for option '-F/Users/m/Desktop/FacebookSDK/FBAudienceNetwork'
ld: warning: directory not found for option '-F/Users/gavin/Downloads/shaffiulla11-bat-b86d81d8adc6'
ld: warning: directory not found for option '-F/Users/gavin/Desktop/shaffiulla11-bat-b86d81d8adc6'
ld: warning: ignoring file /Users/Gavin/Desktop/FacebookSDK/Bolts.framework/Bolts, missing required architecture x86_64 in file /Users/Gavin/Desktop/FacebookSDK/Bolts.framework/Bolts (2 slices)

显然我现在正在使用不同的目录,因为我的驱动器由于逻辑板问题而多次重新格式化,并且只是想知道我最方便的方法就是摆脱这些错误。感谢您的时间和帮助。

Obviously I am using different directories now because of multiple reformats of my drive because of Logic Board issues and just would like to know the most convenient way I can get rid of these errors. Thanks for the time and help.

推荐答案

进入您的项目设置并删除那些您没有的多余框架路径需要。

Go into your Projects settings and remove the excess Frameworks paths in there that you don't need.

以下是我打开项目构建设置时的样子:

Here's what it looks like when I open my project's build settings:

点击框架搜索路径,你会发现那里列出的虚假路径,你可以删除。

Click on "Framework Search Paths" and you should find the bogus paths listed in there, which you can delete.

这篇关于Apple Mach-O链接器警告“找不到选项的目录...”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆