无法在iPhone设备中运行该应用程序

问题描述:

我在设备中运行我的应用程序时遇到问题。我的设备软件版本4.2.1和我的xcode在4.2上。我在我的应用程序中只使用MessageUIFramework。我的控制台信息如下。请帮帮我。无法在iPhone设备中运行该应用程序

unable to load symbol file: unable to load symbol file: unable to load symbol file:  unable to 

load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: target remote-mobile /tmp/.XcodeGDBRemote-3893-99 
Switching to remote-macosx protocol 
mem 0x1000 0x3fffffff cache 
mem 0x40000000 0xffffffff none 
mem 0x00000000 0x0fff none 
run 
Running… 
[Switching to thread 11523] 
[Switching to thread 11523] 
continue 
unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: unable to load symbol file: warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found). 
warning: UUID mismatch detected with the loaded library - on disk is: 
    /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony 
warning: UUID mismatch detected with the loaded library - on disk is: 
    /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/System/Library/Frameworks/QuickLook.framework/QuickLook 

我认为你需要去开发者网站并再次获得你的证书。这次你的uuid与你的手机和网站相匹配。

磁盘上的框架版本与设备上的版本不匹配。删除文件夹:

/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ 4.2.1/

SDK版本(上文粗体)可以是任何安装的版本。选择您的测试设备的版本。

插入你的设备并启动Xcode。打开管理器(窗口>管理器),系统会提示您恢复这些框架。完成此操作后,请在构建设备应用程序之前重新启动Xcode并清除所有目标。

请参阅:UUID mismatch detected with the loaded library

+0

这一个也为我工作。感谢上帝,我不必处理重新生成所有证书。 – 2011-02-04 14:35:37