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

标签 iphone objective-c

我在设备中运行应用程序时遇到问题。我的设备软件版本是4.2.1,我的xcode是4.2。我在我的应用程序中仅使用 MessageUIFramework。我的控制台消息如下。请帮助我。

 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

最佳答案

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

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

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

插入您的设备并启动 Xcode。打开管理器(窗口 > 管理器),系统将提示您恢复这些框架。完成后,重新启动 Xcode 并清理所有目标,然后再为设备构建应用程序。

参见:UUID mismatch detected with the loaded library

关于iphone - 无法在 iPhone 设备中运行应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4650058/

相关文章:

iphone - 将 UIVIewController 推送到 UIView

iPhone iOS UITabBar 如何取消分配 Controller 并稍后重新初始化?

objective-c - 确定哪个IOS正在设备上运行

objective-c - 当从其类中调用时,方法可以正常工作,但在其他情况下则不能

ios - 确保 AM/PM(期间)不会出现在 NSDateFormat stringFromDate 中

iphone - "This game is not recognized by game center."iPhone开发

iphone - UIWebView 处理付款?

iphone - 将 sqlite 附加到 xcode 邮件

objective-c - 通过循环 NSMutableArray 检索整数

ios - 尝试与 Opengl 纹理共享 Metal 纹理