【发布时间】:2014-06-20 08:55:17
【问题描述】:
我的Xcode项目开始报“iOS模拟器安装应用失败”
我正在使用 iOS 模拟器 7.1。模拟器运行任何其他项目。 我已经阅读了堆栈溢出中的其他条目和 我试图从终端删除 ~/Library/Application Support/iPhone Simulator, 从“iOS 模拟器/重置内容和设置”菜单重置, 关闭并重新启动 Maverick 但结果是一样的。
请帮忙!
更新: 当我尝试将我的应用程序上传到真实设备时,我收到此错误:“无法检查应用程序包。”
我认为这个错误与上述错误有关。
当我检查 system.log 条目时,我发现以下几行:
...
05/05/14 00:04:48,507 Xcode[1534]: AMDeviceSecureTransferPath (thread 0x10bd96000): disableDelta: FALSE
05/05/14 00:04:48,606 Xcode[1534]: AMDeviceSecureTransferPath (thread 0x10bd96000): Using delta for package at path file:///Users/serkan/Library/Developer/Xcode/DerivedData/myapp-efvftyvllnqdibctwpfggqgjpfzk/Build/Products/Debug-iphoneos/myapp.app/ ID is myapp.myapp
05/05/14 00:04:48,640 Xcode[1534]: AMDeviceStartHouseArrestService (thread 0x10bd96000): There was an error from the device: ApplicationLookupFailed
05/05/14 00:04:48,650 Xcode[1534]: AMDeviceSecureTransferPath (thread 0x10bd96000): AMDeviceSecureTransferPath:1589 starting delta_transfer_directory, ref_afc: 0x0
05/05/14 00:04:50,642 Xcode[1534]: AMDeviceSecureTransferPath (thread 0x10bd96000): AMDeviceSecureTransferPath:1592 finished delta_transfer_directory
05/05/14 00:04:50,716 Xcode[1534]: call_and_response (thread 0x10bd96000): GOT AN ERROR 0xe8000051
05/05/14 00:04:50,716 Xcode[1534]: perform_command (thread 0x10bd96000): There was an error communicating with the service agent: 0xe8000051
05/05/14 00:04:50,717 Xcode[1534]: AMDeviceSecureInstallApplication (thread 0x10bd96000): Old style install failed for (PublicStaging/myapp.app)
05/05/14 00:04:50,717 Xcode[1534]: AMDeviceSecureInstallApplication (thread 0x10bd96000): Could not install package on device: kAMDPackageInspectionFailedError
【问题讨论】:
标签: ios objective-c xcode ios-simulator