无法在Xcode 4.2中读取符号错误

时间:2011-12-24 07:57:52

标签: iphone ios xcode symbols debug-symbols

我正在使用最新版本的Xcode(4.2.1)并且突然出现,当我尝试在我的设备上运行我的代码时,控制台上会出现以下乱七八糟的文字:

warning: Unable to read symbols for /Users/ahanmalhotra/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader (file not found).

warning: No copy of AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader found locally, reading from memory on remote device.  This may slow down the debug session.

warning: Unable to read symbols for /Users/ahanmalhotra/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/AccessibilityBundles/UIKit.axbundle/UIKit (file not found).

warning: No copy of UIKit.axbundle/UIKit found locally, reading from memory on remote device.  This may slow down the debug session.

warning: Unable to read symbols for /Users/ahanmalhotra/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/AccessibilityBundles/TelephonyUIFramework.axbundle/TelephonyUIFramework (file not found).

warning: No copy of TelephonyUIFramework.axbundle/TelephonyUIFramework found locally, reading from memory on remote device.  This may slow down the debug session.

warning: Unable to read symbols for /Users/ahanmalhotra/Library/Developer/Xcode/iOS DeviceSupport/5.0.1 
(9A405)/Symbols/System/Library/AccessibilityBundles/AXExtraExtras.axbundle/AXExtraExtras (file not found).

warning: No copy of AXExtraExtras.axbundle/AXExtraExtras found locally, reading from memory on remote device.  This may slow down the debug session.

出现此消息后,我的应用程序正常启动并正常运行。我正在使用运行iOS 5.0.1的iPhone 4S。我已经检查过,“Generate Debug Symbols”设置为yes。

有没有办法解决这个问题?

由于

3 个答案:

答案 0 :(得分:2)

我发现我需要在设备上完全关闭辅助功能。这意味着在设置>一般>可访问性一切都必须关闭,包括三击主页。

答案 1 :(得分:0)

你错过了一些文件。看看这个StackOverflow question and answer。它帮助了我。

答案 2 :(得分:0)

我唯一尝试的是从

复制丢失的文件
  

/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0(9A334)/ Symbols / System / Library

然而,您会收到有关这些相同库的“检测到UUID不匹配”的警告。不确定这样做是否有很多好处。