升级到Xcode 4.2和iOS5后,应用程序不能在iPhone上运行
自升级到Xcode 4.2和iOS 5后,我无法再在我的iPhone上运行我的应用程序。 他们仍然在模拟器中运行良好。 我使用的是4.2版的Snow Leopard,并认为这可能是问题,所以升级到Lion,然后将Xcode升级到4.2.1 Lion版本。 然而这并没有解决问题。 我经历了许多线索,试图找到类似的东西,但不能。 我也尝试过不同的构建设置,编译器,部署目标等。我很确定这不是一个配置问题,因为应用程序加载到设备上,只是它们从未正确启动,如果应用程序启动形象这是它锁定的地方。 我也尝试过运行默认的Xcode模板,无济于事。 我尝试删除派生数据,清理项目,删除然后重新从项目中导入框架,但没有任何更改。
这些是我得到的错误
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).
所以我的猜测是(我可能是错的)它看起来像Xcode不知道框架在哪里,但只有当我的设备连接。 我不知道如何解决这个问题,非常感谢任何帮助或想法
我遇到了同样的问题重新安装Xcode没有纠正它。 最后,我关闭了xcode,并重新命名了文件夹developer / platforms / ipho eps.platform / device support / 5.0.1(9a334),然后重新连接设备。 这个文件夹被重建,并且世界上的一切都是正确的。
嘿,我最终在终端上完成卸载,然后重新安装Xcode。 事实证明,只是安装在以前版本的顶部不会纠正错误。 它需要先完全卸载。 现在一切都按原样进行
链接地址: http://www.djcxy.com/p/60483.html上一篇: Apps don't run on iPhone after upgrading to Xcode 4.2 and iOS5