2011-12-24 81 views
1

我正在使用最新版本的Xcode(4.2.1)并且出于窘境,当我尝试在设备上运行我的代码时,控制台上出现以下文本乱码:无法读取Xcode 4.2中的符号错误

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。我已检查并将“生成调试符号”设置为是。

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

谢谢

+0

当您在此模拟器上运行其他应用程序时,您是否得到了类似的警告? – 2011-12-24 09:20:12

+0

@KineticStack,当我运行其他应用程序时,会发生相同的警告。 – 2011-12-24 13:55:55

+0

注意:已尝试重新安装Xcode,没有帮助。 – 2011-12-24 14:21:23

回答

2

我发现我需要完全关闭设备上的辅助功能。这意味着在“设置”>“常规”>“辅助功能”中,所有内容都必须关闭,包括Triple-Click Home。

0

我想的唯一的事情就是在丢失的文件从

/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0(9A334)/符号/系统/图书馆

复制但是,然后您会收到有关这些相同库的“检测到UUID不匹配”的警告。不知道这样做是否有很多收获。