2013-11-03 80 views
1

我开发了一个应用程序,存档它,当我试图将它安装在我的设备上时,有一些错误。 我一直在iOS开发中心重复使用证书,设备和配置文件。我已经三重检查了XCode中的所有构建设置。它是建立在XCode中5Ad Hoc iOS .ipa文件将不会安装设备

当试图在设备上安装应用程序,这是从控制台输出:

Nov 3 16:29:37 iPhone-4S itunesstored[96] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: Lezgro.MyCity (Placeholder) 
Nov 3 16:29:37 iPhone-4S itunesstored[96] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: Lezgro.MyCity (Placeholder) withPhase:1 
Nov 3 16:29:37 iPhone-4S lsd[991] <Warning>: LaunchServices: Updating installState for parent <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.740000> to LSInstallStateWaiting 
Nov 3 16:29:37 iPhone-4S lsd[991] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Installing; state=Waiting; fractionCompleted=0.740000> to 1 
Nov 3 16:29:37 iPhone-4S installd[62] <Notice>: 0x255000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-8408645959906944348/-1707336500984960283" requested by itunesstored 
Nov 3 16:29:40 iPhone-4S touchsetupd[117] <Warning>: WPTransfer deallocing 
Nov 3 16:29:40 iPhone-4S cplogd[1751] <Warning>: Starting. 
Nov 3 16:29:41 iPhone-4S installd[62] <Notice>: 0x255000 MobileInstallationInstall_Server: Installing app Lezgro.MyCity 
Nov 3 16:29:41 iPhone-4S installd[62] <Error>: unrecognized status -67068 from codesigning library 
Nov 3 16:29:41 iPhone-4S installd[62] <Error>: 0x255000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.xzbEO9/foo_extracted/Payload/MyCity.app/MyCity: 0xe8008001 
Nov 3 16:29:41 iPhone-4S installd[62] <Error>: 0x255000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.xzbEO9/foo_extracted/Payload/MyCity.app 
Nov 3 16:29:41 iPhone-4S installd[62] <Error>: 0x255000 install_application: Could not preflight application install 
Nov 3 16:29:41 iPhone-4S itunesstored[96] <Error>: 0x1e7a000 MobileInstallationInstallForLaunchServices: failed with -1 
Nov 3 16:29:41 iPhone-4S itunesstored[96] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil 
Nov 3 16:29:41 iPhone-4S lsd[991] <Warning>: LaunchServices: installation failed for app Lezgro.MyCity 
Nov 3 16:29:41 iPhone-4S itunesstored[96] <Warning>: LaunchServices: installPhaseFinishedForProgress: Lezgro.MyCity.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache 
Nov 3 16:29:41 iPhone-4S installd[62] <Error>: 0x255000 handle_install_for_ls: API failed 
Nov 3 16:29:43 iPhone-4S SpringBoard[34] <Warning>: Killing Lezgro.MyCity for app installation 

我已经试过绝对一切我能想到的。任何帮助,甚至是关于如何诊断问题的想法,都将不胜感激。

回答

0

我以前有同样的问题。 将Entitlement.plist中的get-task-allow设置为false。如果您的应用不包含Entitlement.plist,则必须在目标摘要视图上允许它。

祝你好运!

+0

这是xcode 5的解决方案吗?我没有看到项目中的Entitlements.plist文件,但是当我尝试像[这里](http://esfandiarmaghsoudi.blogspot.com/2011/01/setting-up-entitlementsplist-file-in.html)那样做时,它恢复错误:CodeSign错误:在SDK'iOS 7.0'中产品类型'Application'需要代码签名 – user2950077

+0

您可以像这样添加您的Entitlement.plist:http://stackoverflow.com/questions/9044735/steps-to-创建和编辑一个plist文件在Xcode 而且你可以在目标设置的功能选项卡中管理授权。 – ingaham

+0

不幸的是,它不适合我 – user2950077