我的Xcode项目开始给“iOS模拟器未能安装应用程序”iOS模拟器未能安装应用程序
我正在使用iOS模拟器7.1。模拟器运行任何其他项目。 我已阅读堆栈溢出中的其他条目和 我试图从终端删除〜/库/应用程序支持/ iPhone模拟器, 从“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
您使用了哪些其他文件夹名称? (另外:你是否持有选项键,因此它显示“Clean Build Folder ...”而不仅仅是“Clean”?) –
您应该转到构建文件:打开Organizer,选择Projects并选择您的项目。有一个“派生数据”条目,在路径右侧有一个小箭头按钮。点击该按钮,在该位置打开Finder。去Build/Products/Debug-iphonesimulator /。有你的应用程序。使Finder显示包内容。还有什么? –
是的,有Pod库和myapp.app – zontragon