iOS 4.2.1 开发 SDK 中缺少 libXcodeDebuggerSupport.dylib [英] libXcodeDebuggerSupport.dylib is missing in iOS 4.2.1 development SDK
问题描述
注意:在 Xcode 4.3.2 上得到这个?查看这个问题的答案.
Note: getting this on Xcode 4.3.2? Check out the answer to this question.
注意:创建符号链接以使用 4.2 库似乎工作正常
cd /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/
sudo ln -s ../../4.2 (8C134)/Symbols/Developer
从 4.2.0(我相信是测试版)升级到 4.2.1 后,libXcodeDebuggerSupport.dylib 文件丢失,导致:
After upgrading from 4.2.0 (beta, I believe) to 4.2.1, the libXcodeDebuggerSupport.dylib file is missing, which results in:
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
我想这不太好.查看有问题的目录,我注意到:
which I guess isn't good. Looking at the directory in question I note:
.../DeviceSupport/4.2 (8C134)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib
但是
.../DeviceSupport/4.2.1 (8C148)/Symbols/System/
.../DeviceSupport/4.2.1 (8C148)/Symbols/usr/
以上两个目录构成了4.2.1文件夹中的所有内容.没有开发人员"文件夹.检查那里的/usr/目录,我发现 lib 目录中也没有 libXcodeDebuggerSupport.dylib 文件,因此 ln -s'ing 不是一个选项.
the above two dirs make up all the content in the 4.2.1 folder. No "Developer" folder. Checking the /usr/ dir there, I find no libXcodeDebuggerSupport.dylib file in the lib dir either, so ln -s'ing isn't an option.
值得一提的是:升级后,我插入了 iPad,不得不在 Xcode 管理器中单击用于开发".这样做时,我收到一条关于该版本缺少符号的消息,Xcode 继续生成这样的符号,然后失败了.我恢复了 iPad 并再次用于开发",没有出现丢失符号的任何内容......
Worth mentioning: after the upgrade, I plugged the iPad in and had to click "Use for development" in Xcode organizer. Doing so, I got a message about symbols missing for that version, and Xcode proceeded to generate such, then failed. I restored the iPad and did "Use for development" again, and nothing about missing symbols appeared...
更新:删除/Developer 并从头开始重新安装 Xcode 并不能解决此问题.
Update: deletion of /Developer and reinstallation of Xcode from scratch does not fix this issue.
更新 2:我刚刚意识到在重新安装 Xcode 后,
Update 2: I just realized that after the reinstall of Xcode,
.../DeviceSupport/4.2 (8C134)/Symbols
现在是一个符号链接,
lrwxr-xr-x 1 root admin 36 Dec 3 17:17 Symbols -> ../../Developer/SDKs/iPhoneOS4.2.sdk
并且有问题的目录具有适当的文件.也许这只是以相同的方式链接 4.2.1 目录的问题?我会尝试一下,看看 Xcode 是否会出问题.如果有这个文件的人可以提供一个 md5 和那将是非常好的.这对我来说是这样的:
And the directory in question has the appropriate files. Maybe this is simply a matter of linking the 4.2.1 dir in the same fashion? I'll try that and see if Xcode freaks out. If someone who has this file could provide a md5 sum that would be splendid. This is what it says for me:
$ md5 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2 (8C134)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib
MD5 (/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2 (8C134)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib)
= 08f93a0a2e3b03feaae732691f112688
如果 MD5 总和与
$ md5 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib
那么我们都准备好了.
推荐答案
我刚刚解决这个问题的方法是:
What I just did to solve this problem was:
cd /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols
并创建符号链接丢失:
ln -s ../../4.2 (8C134)/Symbols/Developer/ Developer
它解决了我的问题.
这篇关于iOS 4.2.1 开发 SDK 中缺少 libXcodeDebuggerSupport.dylib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!