2014-01-10 69 views
2

我最近產生一個新的證書和供給曲線和我無法安裝(安裝環)的IPA的設備上。的iOS發放模板 - 無法安裝(開發者證書信任結果= 5)

  • 設備的供應配置文件
  • 配置文件是在設備上註冊
  • 輪廓有效
  • 配置文件中列出未Xcode的
  • 證書是在我的鑰匙串,所有的綠色

我使用Hudson來構建IPA,它一切正常,直到我不得不更新證書和配置文件。安裝時

控制檯登錄我越來越:

Jan 10 12:12:52 Martins-iPhone SpringBoard[1790] : Killing com.wci.turntape for app installation

Jan 10 12:12:52 Martins-iPhone itunesstored[1788] : LaunchServices: installing app for existing placeholder LSApplicationProxy: com.wci.turntape (Placeholder)

Jan 10 12:12:52 Martins-iPhone itunesstored[1788] : LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.wci.turntape (Placeholder) withPhase:1

Jan 10 12:12:52 Martins-iPhone lsd[1787] : LaunchServices: Updating installPhase for parent to 1

Jan 10 12:12:52 Martins-iPhone installd[62] : 0x303000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-3941318386609200153/2973774017215790161" requested by itunesstored

Jan 10 12:12:55 Martins-iPhone installd[62] : 0x303000 MobileInstallationInstall_Server: Installing app com.wci.turntape

Jan 10 12:12:56 Martins-iPhone installd[62] : developer cert trust result = 5

Jan 10 12:12:56 Martins-iPhone installd[62] : 0x303000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.p38MaR/foo_extracted/Payload/Turntape.app/turntape: 0xe8008018

Jan 10 12:12:56 Martins-iPhone installd[62] : 0x303000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.p38MaR/foo_extracted/Payload/Turntape.app

Jan 10 12:12:56 Martins-iPhone installd[62] : 0x303000 install_application: Could not preflight application install

Jan 10 12:12:56 Martins-iPhone itunesstored[1788] : 0x1e60000 MobileInstallationInstallForLaunchServices: failed with -1

Jan 10 12:12:56 Martins-iPhone itunesstored[1788] : ERROR: MobileInstallationInstallForLaunchServices returned nil

Jan 10 12:12:56 Martins-iPhone lsd[1787] : LaunchServices: installation failed for app com.wci.turntape

是否在日誌門鈴給任何人任何事? 但是我所有的

我發現這傢伙跟了同樣的問題 http://community.phonegap.com/nitobi/topics/error_on_installation-p3psw 但他的解決方案是更新他的證書過期(這是我首先做的)。

回答

3

溢出流了很多血後,我發現是什麼原因導致的問題......

新證書現在有一個組織單位ID(我的是YXW8YWB9K4)具有後綴的證書。 Hudson被配置爲在沒有此後綴的情況下查找證書。

問題是我們也有一個企業證書,並且構建在兩個證書之間越來越混亂。憑藉以前的證書,沒有含糊之處,因爲沒有後綴。因此我不得不添加後綴my build參數。

例如: 「iPhone分佈:公司公司」

我的證書是:

「iPhone分佈:公司公司(YXW8YWB9K4)」 「iPhone分佈:公司公司(ENT)」

順便說一句對那些具有企業帳戶,蘋果公司的建議是,對這些證書單獨鑰匙串。

+0

我也有一個開發人員和一個企業程序。當我更新證書時,我的開發人員程序得到了後綴。我遇到了這個問題,因爲我試圖用我自己的腳本來退出一個.ipa文件,但沒有考慮到後綴。所以感謝發佈這個解決方案。 – RandomBits

0

請再次檢查您正在分配的IPA是否使用正確的配置文件進行了簽名。確保您的新證書具有匹配配置文件的包標識符。