2013-11-03 118 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