应用程序不构建到设备

时间:2011-07-17 00:45:56

标签: iphone xcode

当我尝试将我的应用程序构建到设备时,它会卡在启动画面上并且不会超过它。

GNU gdb 6.3.50-20050815 (Apple version gdb-1702) (Mon Jun 20 02:29:40 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)/Symbols/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics (file not found).
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)/Symbols/System/Library/Frameworks/AVFoundation.framework/AVFoundation (file not found).
warning: Unable to read symbols from "AVFoundation" (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 "libgcc_s.1.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).
target remote-mobile /tmp/.XcodeGDBRemote-186-34
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 11523 thread 0x0]
[Switching to process 11523 thread 0x0]
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: 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: 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.  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/4.2.1 (8C148a)/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/4.2.1 (8C148a)/Symbols/System/Library/Frameworks/OpenGLES.framework/OpenGLES (file not found).
warning: No copy of OpenGLES.framework/OpenGLES 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/4.2.1 (8C148a)/Symbols/System/Library/Frameworks/QuartzCore.framework/QuartzCore (file not found).
warning: No copy of QuartzCore.framework/QuartzCore 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/4.2.1 (8C148a)/Symbols/System/Library/Frameworks/UIKit.framework/UIKit (file not found).
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)/Symbols/System/Library/Frameworks/CoreMedia.framework/CoreMedia (file not found).
warning: No copy of CoreMedia.framework/CoreMedia found locally, reading from memory on remote device.  This may slow down the debug session.
warning: No copy of VideoToolbox.framework/VideoToolbox 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/4.2.1 (8C148a)/Symbols/System/Library/PrivateFrameworks/Celestial.framework/Celestial (file not found).
warning: No copy of DataMigration.framework/DataMigration 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/4.2.1 (8C148a)/Symbols/System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X (file not found).
warning: No copy of EAP8021X.framework/EAP8021X found locally, reading from memory on remote device.  This may slow down the debug session.

这是日志的一部分。它只是坐在闪屏上,我无法弄清楚原因。

2 个答案:

答案 0 :(得分:1)

根据您提供的日志,有警告 - Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)

你可以看看这个线程来解决它。

Issue with iphone sdk 4.2.1

答案 1 :(得分:0)

它是否在模拟器上编译?快速谷歌后,显然这个错误来自SDK中的错误或内存管理不善。