这些Dsymutil警告在XCode 4.5中意味着什么? [英] What do these Dsymutil Warnings mean in XCode 4.5?

查看:147
本文介绍了这些Dsymutil警告在XCode 4.5中意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在连接iOS的静态框架和armv7 ios 6应用程序,我怀疑原始二进制文件来自XCode 3.x并使用GCC编译,我现在使用CLang编译器链接它。我没有框架的源代码,只有二进制文件:

I am linking a static framework for iOS, against an armv7 ios 6 application, I suspect that the original binaries are from XCode 3.x and were compiled with GCC, and that I'm now linking it using CLang compiler. I do not have the source code for the framework, only the binaries:

(null): warning: (armv7) /.../DerivedData/.../armv7/HardwareObjectFile.o unable to open object file

我得到如上所述的69个警告,每个.o文件一个链接到静态框架。

I get 69 warnings like the above, one for every .o file linked into the static framework.

这个警告是否因任何原因严重?我已经简化了巨大的路径,似乎表明库中的二进制文件已经硬编码了/ Users / somedeveloperthatisntme中的路径,这条路径几乎没有帮助但不存在,因为我在一台甚至不连接的计算机上使用这个库有一个名为Users / somedeveloperthatisntme的文件夹。

Is this warning serious for any reason? I have simplified the giant path which appears to indicate that the binary files in the library have hardcoded a path in "/Users/somedeveloperthatisntme" that could hardly help but Not Exist since I'm using this library on a computer that doesn't even have a folder named "Users/somedeveloperthatisntme".

Dsymutil 似乎是一个操纵归档的DWARF调试符号文件的工具,虽然我完全不知道它是什么以及它做了什么尽管Apple提供了全面的文档,它告诉我什么,但从来没有,为什么。它在做什么,这个警告对我意味着什么?我怀疑我需要供应商提供一个新的库/静态框架来清除它吗?

Dsymutil appears to be a tool to "manipulate archived DWARF debug symbol files", although I know precisely nothing about what it is and what it does, notwithstanding the thorough documentation from Apple, which tells me what, but never ever, why. What is it doing, and what will this warning mean for me? I suspect I need a new library/static-framework from the vendor to clear this up?

更新:我无法解决这个问题看起来原因是由非常旧的XCODE版本编译的非常旧的二进制文件,作为移动框架的一部分从第三方供应商提供。在这种情况下的问题将通过让供应商重建他们的库来解决,我要求他们这样做,因为这些警告让我疯狂,但他们似乎无法做到。最后,我抛弃了他们的技术并用其他东西取而代之。 (咧嘴笑)

Update: I am unable to solve this and it appears the cause lays with very old binaries compiled by a very old XCODE version, shipped as part of a mobile framework from a third party vendor. The issue in this case would be resolved by having that vendor rebuild their library, something I asked them to do because the warnings drove me nuts, but which they seem unable to do. In the end I ditched their technology and replaced it with something else. (Grin)

推荐答案

其他答案包含有用的信息,但我希望简明扼要地说明:

The other answers contain helpful information but I wish to put the real answer down succinctly:

您无法解决此问题,错误的含义很简单:当前链接器将这些库文件视为包含无法打开的元素。

You can not fix this, and the meaning of the errors is simple: The current linker sees these library files as containing elements that can not be opened.

要解决警告,请与供应商联系,获取已使用更高版本CLANG重建的重新编译库。

To solve the warnings, contact the vendor and get a recompiled library that has been rebuilt with a later version of CLANG.

这篇关于这些Dsymutil警告在XCode 4.5中意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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