未找到Apple Mach-O链接器警告目录 [英] Apple Mach-O Linker Warning Directory not found
本文介绍了未找到Apple Mach-O链接器警告目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我过去五个小时都在寻找这种奇怪的情况,这是一个合理的解释。
I have spent my last five hours looking for this weird situation a reasonable explanation.
以下是警告:
ld: warning: directory not found for option '-L/Users/oasis_weng/Desktop/My Life/Life For Myself/Programming/Projects/ChangWeiBo/../xCodeExamples/ShareSDK/ShareSDK_v2.1.0/Extend/SDKExport'
ld: warning: directory not found for option '-F/Users/oasis_weng/Desktop/My Life/Life For Myself/Programming/Projects/ChangWeiBo/../xCodeExamples/ShareSDK/ShareSDK_v2.1.0/Connection'
ld: warning: directory not found for option '-F/Users/oasis_weng/Desktop/My Life/Life For Myself/Programming/Projects/ChangWeiBo/../xCodeExamples/ShareSDK/ShareSDK_v2.1.0/Core'
ld: warning: directory not found for option '-F/Users/oasis_weng/Desktop/My Life/Life For Myself/Programming/Projects/ChangWeiBo/../xCodeExamples/ShareSDK/ShareSDK_v2.1.0/Extend'
ld: warning: directory not found for option '-F/Users/oasis_weng/Desktop/My Life/Life For Myself/Programming/Projects/ChangWeiBo/../xCodeExamples/ShareSDK/ShareSDK_v2.1.0'
ld: warning: directory not found for option '-F/Users/oasis_weng/Desktop/My Life/Life For Myself/Programming/Projects/ChangWeiBo/../xCodeExamples/ShareSDK/ShareSDK_v2.1.0/UI'
但是,我知道所有涉嫌丢失的文件
我的应用程序文件夹中确实存在并且该应用程序正确运行这些文件。
However though, I know all those alleged "missing files
" are truly and actually existed in my application folder and the app runs properly with these files.
警告中这些目录的问题是实际路径不包括 ../ xCodeExamples / part。
The problem of those directories in the warning is the actual path do not include the ../xCodeExamples/ part.
我该怎么办才能收到这些警告?
What should I do to get these warning away?
推荐答案
您必须按照以下步骤操作:
You have to follow these step:
- 点击您的项目(目标)
- 点击构建设置
- 在图书馆搜索路径下,删除路径
- 清理你的构建并再次运行。
- Click on your project (targets)
- Click on Build Settings
- Under "Library Search Paths", delete the paths
- Clean your build and run again.
祝你好运!
这篇关于未找到Apple Mach-O链接器警告目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文