2011-12-14 114 views
1

升级到Xcode 4.2和iOS 5后,我无法再在我的iPhone上运行我的应用程序。他们仍然在模拟器中运行良好。 我在4.2版本中使用Snow Leopard,并认为这可能是问题,所以升级到Lion,然后将Xcode升级到4.2.1 Lion版本。然而这并没有解决问题。 我已经经历了许多线程,试图找到类似的东西,但不能。我也尝试了不同的构建设置,编译器,部署目标等。 我很确定这不是一个配置问题,因为应用程序加载到设备上,只是它们永远无法正常启动,如果应用程序有启动图像这是它锁定的地方。我也尝试过运行默认的Xcode模板,无济于事。 我试过删除派生数据,清理项目,删除然后重新从项目中导入框架,但没有任何更改。升级到Xcode 4.2和iOS5后,应用程序无法在iPhone上运行

这是我得到

warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit 
warning: Unable to read symbols from "UIKit" (not yet mapped into memory). 
warning: Unable to read symbols from "Foundation" (not yet mapped into memory). 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics (file not found). 
warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory). 
warning: Unable to read symbols from "libSystem.B.dylib" (not yet mapped into memory). 
warning: Unable to read symbols from "CoreFoundation" (not yet mapped into memory). 
warning: Unable to read symbols from "libobjc.A.dylib" (not yet mapped into memory). 

,然后我得到这些一堆错误,他们去了15行

warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 
warning: No copy of <No file name> found locally, reading from memory on remote device. This may slow down the debug session. 

,然后我得到这些一堆那继续和你可能想到的每一个框架,然后一些

warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit (file not found). 
warning: No copy of UIKit.framework/UIKit found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/Foundation.framework/Foundation (file not found). 
warning: No copy of Foundation.framework/Foundation found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics (file not found). 
warning: No copy of CoreGraphics.framework/CoreGraphics found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libSystem.B.dylib (file not found). 
warning: No copy of libSystem.B.dylib found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (file not found). 
warning: No copy of CoreFoundation.framework/CoreFoundation found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libobjc.A.dylib (file not found). 
warning: No copy of libobjc.A.dylib found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/PrivateFrameworks/IOSurface.framework/IOSurface (file not found). 
warning: No copy of IOSurface.framework/IOSurface found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (file not found). 
warning: No copy of IOKit.framework/Versions/A/IOKit found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/liblockdown.dylib (file not found). 
warning: No copy of liblockdown.dylib found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag (file not found). 
warning: No copy of MobileKeyBag.framework/MobileKeyBag found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/usr/lib/libicucore.A.dylib (file not found). 
warning: No copy of libicucore.A.dylib found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/CoreImage.framework/CoreImage (file not found). 
warning: No copy of CoreImage.framework/CoreImage found locally, reading from memory on remote device. This may slow down the debug session. 
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Frameworks/Security.framework/Security (file not found). 

所以我的猜测是(我可以b错误)它看起来像Xcode不知道框架的位置,但只有当我的设备连接。我不知道如何解决这个问题,将不胜感激任何帮助或想法 谢谢

+0

我会检查是否有`/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1(9A405)`目录。 – dasdom 2011-12-14 10:49:43

+0

谢谢我今晚会检查,如果不是,我该怎么办? – 2011-12-15 04:44:19

+0

然后你的安装有问题。在这种情况下,我会尝试重新安装Xcode和最新的SDK。 – dasdom 2011-12-15 08:16:12

回答

1

嘿,我最终做了一个完整的卸载在终端,然后重新安装Xcode。事实证明,只是安装在以前版本的顶部不会纠正错误。它需要先完全卸载。现在一切正常,因为它应该

3

我遇到了同样的问题重新安装Xcode没有纠正它。最后,我关闭了xcode,并重新命名了文件夹developer/platforms/ipho eps.platform/device support/5.0.1(9a334),然后重新连接设备。这个文件夹被重建,并且世界上的一切都是正确的。

相关问题