xcode 无法读取 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 的符号

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4838949/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 20:09:10  来源:igfitidea点击:

Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1

iphonecocoa-touchxcodeiosios4

提问by Abhinav

I am getting following error when I am running my application on iPod touch (version 4.2.1). My app crashes after a point:

当我在 iPod touch(4.2.1 版)上运行我的应用程序时出现以下错误。我的应用程序在某一点后崩溃:

Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).

Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).

My XCODE version is 3.2.6 with IOS 4.3 and my deployment target version is 4.2.

我的 XCODE 版本是 3.2.6 和 IOS 4.3,我的部署目标版本是 4.2。

Any reason why this is so happening?

为什么会发生这种情况?

采纳答案by Piotr Byzia

Sometimes I have similar problems, and what works for me is Cleanand Buildthe target again (without any changes in code!). Strange, but sometimes I had to do it more than once.

有时我会遇到类似的问题,对我有用的是清理并再次构建目标(无需更改代码!)。奇怪,但有时我不得不做不止一次。

回答by Ned

Just delete that folder (/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1), connect your device again, go to the XCode Organizer and it will ask you to collect the symbols from the device. After a couple minutes it will be done collecting and processing the symbols off the device, and you should be good to go.

只需删除该文件夹 (/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1),再次连接您的设备,转到 XCode Organizer,它会要求您从设备中收集符号。几分钟后,它将完成收集和处理设备上的符号,您应该可以开始了。

You can also see this threadfor more solutions if this doesn't work.

如果这不起作用,您还可以查看此线程以获取更多解决方案。

回答by ort11

For some reason just got this in XCODE 4.2. Had to go to

出于某种原因,刚刚在 XCODE 4.2 中得到了这个。不得不去

TARGET / BUILD SETTINGS / ALL / SEARCH PATHS / Library Search Paths

目标/构建设置/所有/搜索路径/库搜索路径

And remove the line that somehow had similar entry in the line. Removed it and all is ok

并删除该行中以某种方式具有类似条目的行。删除它,一切正常