【发布时间】:2011-12-08 09:41:58
【问题描述】:
可能重复:
Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK?
我有一个我不太明白的问题,直到昨天我还在使用 Xcode,一切都运行良好,但昨天我在 iOS 5 上安装了 Xcode 4.2,但现在当我尝试用我的 iPhone 运行时因为目标是成功构建应用程序,然后立即停止。没有错误,控制台日志中没有任何内容。该应用程序甚至不会复制到我的设备上。 Xcode 说:构建,运行,完成运行......全部在 2 秒内...... 在模拟器上一切正常,但在设备上没有任何反应。
我有 xCode 4.2 和 iOS 5,我有一个 iPhone 3G 和 io 4.2.1,在部署目标下,我像昨天一样选择 4.2。请帮帮我,我快疯了!
我在 Xcode 的管理器窗口上看到,日志给了我这个结果,我复制了一小部分:
Sat Oct 15 18:17:14 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection
Sat Oct 15 18:17:14 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:14 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:14 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection
Sat Oct 15 18:17:15 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:15 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection
Sat Oct 15 18:17:16 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection
Sat Oct 15 18:17:16 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:16 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:16 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection
Sat Oct 15 18:17:17 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection
Sat Oct 15 18:17:17 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:17 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection
Sat Oct 15 18:17:17 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:18 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection
Sat Oct 15 18:17:18 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:18 unknown com.apple.mobile.lockdown[18] <Notice>: Could not receive size of message
Sat Oct 15 18:17:18 unknown lockdownd[18] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from Xcode. Killing
有什么问题?
附:我尝试将架构放到 armv6 上并在设备上构建是问题所在?...但是它是如何改变的?...我从未更改过 Xcode 上的架构。
【问题讨论】: