构建过程运行良好并且成功 – 在此之后XCode尝试将其部署到我的iPhone并且失败了一个简单的“未知错误已经发生”.难以理解我在system.log中看了一下,这就是它所说的:
Jul 29 17:44:18 Xcode[12893]: AMDeviceStartHouseArrestService (thread 0x120e8e000): There was an error from the device: ApplicationLookupFailed
Jul 29 17:44:19 Xcode[12893]: call_and_response (thread 0x120e8e000): GOT AN ERROR 0xe800003a
Jul 29 17:44:19 Xcode[12893]: perform_command (thread 0x120e8e000): There was an error communicating with the service agent: 0xe8008001
Jul 29 17:44:19 Xcode[12893]: AMDeviceSecureInstallApplication (thread 0x120e8e000): Could not install package on device: e8008001
Jul 29 17:44:19 Xcode[12893]: Result for ‘/SourceCache/DTDeviceKit/DTDeviceKit-232.24/DTDeviceKit/DTDeviceKit_UtilitIEs.m’ at 468 : 0xE8008001
Jul 29 17:44:19 Xcode[12893]: Result for ‘/SourceCache/IDEiPhonesupport/IDEiPhonesupport-45/Classes/DVTiPhoneMobileDeviceIO.m’ at 265 : 0xE8008001
因为我猜这是一个相当罕见的问题(因此是“未知错误”),我将非常感谢有关如何调试此事的任何指示.我不希望有任何解决方案或任何东西(虽然如果有人遇到类似的问题我会很感激,并帮助我找到一个确切的解决方案;))但也许你们中的一些人有一个好主意.
通过日志中的两行判断设备出现错误以及与服务代理的通信我猜测它可能是与iPhone本身连接的问题 – 但看到与iTunes同步和所有“正常”的东西工作得很好我无法弄清楚那个问题可能是什么.
在此先感谢帮助我.
更新
所以,环顾四周后,我在XCode Organizer的设备控制台上找到了这个:
Thu Jul 29 22:40:00 Roberts-3GS SCHelper[38] : 0x104e60 {port = 0x382b,caller = SpringBoard(42):com.apple.preferences,path = /library/Preferences/SystemConfiguration/preferences.pList}
Thu Jul 29 22:40:22 Roberts-3GS installd[960] : unrecognized status -25293 from codesigning library
Thu Jul 29 22:40:22 Roberts-3GS installd[960] : 00503000 verify_signer_IDentity: Could not copy valIDate signature: -402620415
Thu Jul 29 22:40:22 Roberts-3GS installd[960] : 00503000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.0DuNfz/landu.app
Thu Jul 29 22:40:22 Roberts-3GS installd[960] : 00503000 install_application: Could not preflight application install
Thu Jul 29 22:40:22 Roberts-3GS mobile_installation_proxy[961] : handle_install: Installation Failed
Thu Jul 29 22:40:22 Roberts-3GS installd[960] : 00503000 handle_install: API Failed
Thu Jul 29 22:40:22 Roberts-3GS installd[960] : 00503000 send_message: Failed to send mach message of 64 bytes: 10000003
Thu Jul 29 22:40:22 Roberts-3GS installd[960] : 00503000 send_error: Could not send error response to clIEnt
因此,似乎iPhone无法验证代码签名的签名.我想我会重新创建一些证书,明天再试一次.我会告诉你结果如何.
解决方法 首先,看这里: http://9mmedia.com/blog/?p=229然后:
您是否尝试过重新创建配置文件并重新安装,然后与iTunes同步?另外,请确保在EnTitlements.pList中检查了get-task-allow
来自另一篇文章:
get-task-allow,when signed into an application,allows other processes (like the deBUGger) to attach to your app. distribution profiles require that this value be turned off,while development profiles require this value to be turned on (otherwise Xcode would never be able to launch and attach to your app). <– Not sure if this last part is true anymore.
我已经完成了你所描述的更新到iOS4以及XCode4 DP2(顺便说一句都很棒),并且没有遇到过这个问题.听起来好像安装不好或者一路上损坏或放错了位置.
总结以上是内存溢出为你收集整理的XCode无法将iPhone应用程序部署到iPhone 3GS全部内容,希望文章能够帮你解决XCode无法将iPhone应用程序部署到iPhone 3GS所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)