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文件夹中的所有内容。没有Developer文件夹。检查那里的/ usr / dir,我发现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
并创建了符号链接丢失:
and created the symlink was missing:
ln -s ../../4.2\ \(8C134\)/Symbols/Developer/ Developer
它解决了我的问题。
这篇关于iOS 4.2.1开发SDK中缺少libXcodeDebuggerSupport.dylib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!