XCode 4 - 链接器错误
升级到 XCode 4 后,我收到一些链接器警告,对此我有点困惑。
我的前 2 个链接器警告与 InMobi 库(广告提供商)有关。 这些警告抱怨找不到目录。 我唯一能看到的是,也许“Xcode”不喜欢其中包含“../”的目录路径。
“库搜索路径”看起来正确。 \"$(SRCROOT)/../AdUtilities/AdProviders/InMobi/iPhone_3.x\"
请注意,SRCRoot(App 文件夹)与 Adutilities 文件夹是同级文件夹(同一文件夹位置)。可能是什么问题???
* 更新*
我尝试提供完整的库路径,但仍然出现相同的警告。
* 已更新 2 *
导致链接问题的广告提供商是 InMobi。 我删除了所有对 InMobi 的引用,现在一切都在没有警告的情况下构建。
After having upgraded to XCode 4 im getting some linker warnings that Im a bit baffled about.
My first 2 linker warnings are related to InMobi libraries (an Ads provider).
These warnings are complaining about a Directory that can't be found.
The only thing I can see is that perhaps "Xcode" doesn't like a directory path with a "../" in it.
The "library search paths" look correct.
\"$(SRCROOT)/../AdUtilities/AdProviders/InMobi/iPhone_3.x\"
Note that the SRCRoot (the App folder) is a sibling (the same folder location) as the Adutilities folder. What could be it's problem???
* updated *
I tried providing the full library path, but still same warnings.
* updated 2 *
the ad provider causing the link issues was InMobi.
I removed all references to InMobi, now things are building without warnings.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
* 已更新*
这导致了更多问题。我刚刚将 InMobi 作为我的广告提供商之一删除。现在一切构建都带有错误或警告。
* Updated *
This was causing more problems that what it was worth. I just removed InMobi as one of my ad providers. now everything builds with errors or warnings.