Iphone 应用程序未生成到设备

Iphone 应用程序未生成到设备,iphone,xcode,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 cha

当我尝试将我的应用程序构建到设备时,它会卡在启动屏幕上,无法通过

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.
GNU gdb 6.3.50-20050815(苹果版gdb-1702)(2011年6月20日星期一02:29:40 UTC)
版权所有2004免费软件基金会。
GDB是自由软件,受GNU通用公共许可证的保护,您是
欢迎在特定条件下更改和/或分发副本。
键入“显示复制”以查看条件。
GDB绝对没有保修。有关详细信息,请键入“显示保修”。
此GDB配置为“-host=i386 apple darwin--target=arm apple darwin”。tty/dev/ttys000
警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics的符号(未找到文件)。
警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/Frameworks/AVFoundation.framework/AVFoundation的符号(未找到文件)。
警告:无法从“AVFoundation”(尚未映射到内存)读取符号。
警告:无法从“libSystem.B.dylib”(尚未映射到内存)读取符号。
警告:无法从“libgcc_.1.dylib”(尚未映射到内存)读取符号。
警告:无法从“CoreFoundation”(尚未映射到内存)读取符号。
警告:无法从“libobjc.A.dylib”(尚未映射到内存)读取符号。
目标远程移动设备/tmp/.XcodeGDBRemote-186-34
切换到远程macosx协议
内存0x1000 0x3fffffff缓存
内存0x40000000 0xffffffff无
内存0x00000000 0x0fff无
[切换到进程11523线程0x0]
[切换到进程11523线程0x0]
警告:本地找不到的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:本地找不到的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:本地找不到的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:本地找不到的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:本地找不到的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:本地找不到的副本,正在从远程设备上的内存读取。找到)。
警告:本地找不到CoreGraphics.framework/CoreGraphics的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/Frameworks/Foundation.framework/Foundation的符号(未找到文件)。
警告:没有基础的副本。框架/基础在本地找到,从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/Frameworks/OpenGLES.framework/OpenGLES的符号(未找到文件)。
警告:本地找不到OpenGLES.framework/OpenGLES的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/Frameworks/QuartzCore.framework/QuartzCore的符号(未找到文件)。
警告:本地找不到QuartzCore.framework/QuartzCore的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/Frameworks/UIKit.framework/UIKit的符号(未找到文件)。
警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/Frameworks/CoreMedia.framework/CoreMedia的符号(未找到文件)。
警告:本地找不到CoreMedia.framework/CoreMedia的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:本地找不到VideoToolbox.framework/VideoToolbox的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。
警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/PrivateFrameworks/sintery.framework/sintery的符号(未找到文件)。
警告:本地找不到DataMigration.framework/DataMigration的副本,正在从远程设备上的内存读取。这可能会减慢调试会话。警告:无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)/symbols/System/Library/privateframes/EAP8021X.framework/EAP8021X的符号(未找到文件)。
警告:本地找不到EAP8021X.framework/EAP8021X的副本,正在从远程设备上的内存读取。这可能会降低调试会话的速度。

这是部分日志。它只是放在启动屏幕上,我不知道为什么。

它是在模拟器上编译的吗?在快速搜索之后,显然这个错误来自SDK中的错误或者内存管理不善

它在模拟器上编译吗?在快速搜索之后,显然这个错误来自SDK中的错误或者内存管理不善

在您给出的日志中,有一条警告-
无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)

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


在您给出的日志中,有一条警告-
无法读取/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1(8C148a)的符号。

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


是的,它在模拟器中运行良好。是的,它在模拟器中运行良好。该消息不是错误,只是警告。它不会阻止代码运行,它只会干扰获取设备上库的调试符号。如您链接到的文章所述。如果我心情不好,我会给你-1分。是的,这不是一个错误。我爱你