2014-02-17 42 views
3

我想知道如何通過Windows Intune正確簽署和發佈IPA。如何通過Windows Intune發佈IPA

我有一個內部供應配置文件爲特定的包/應用程序ID和iOS分發證書。歸檔IPA文件時使用此配置文件。我爲企業臨時部署進行簽名和打包。按預期方式獲取.ipa和.plist文件並將它們上載到Windows Intune。一切似乎都很好。

當我登錄Windows Intune公司門戶並選擇安裝應用程序時,它失敗。我得到以下日誌報表:

installd[61] <Notice>: 0x255000 MobileInstallationInstall_Server: Installing app [bundle id] 
installd[61] <Error>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile '[name of in house distribution profile]' 
installd[61] <Error>: 0x255000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.Mgjx9o/foo_extracted/Payload/[app name].app/[app name]: 0xe8008016 
installd[61] <Error>: 0x255000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.Mgjx9o/foo_extracted/Payload/[app name].app 
installd[61] <Error>: 0x255000 install_application: Could not preflight application install 
installd[61] <Error>: 0x255000 handle_install_for_ls: API failed 

這裏真正的問題是什麼?它如何解決?

這是一個PhoneGap 3.2.0應用程序,其中應用程序使用phonegap build ios生成。我正在使用Xcode 5.0.2,並且我試圖安裝該應用程序的設備正在運行iOS 7.0.4。

日誌中的[]中的所有內容均由我替換。

回答

2

我設法分發了IPA。當Xcode首先嚐試將設備添加到iOS開發中心帳戶和團隊時,我試圖在新iPad設備上運行應用程序。

在開始時它表示添加設備的請求正在等待處理。然後它開始給我一個錯誤消息。第一個對話框說如下:

No provisioning profiles matching both the team ID 「[team id]」 and the bundle identifier 「[bundle id]」 were found. Xcode can resolve this issue by downloading a new provisioning profile from the Member Center. 

試圖解決該問題後,它說:

There was an error generating the team provisioning profile for AppID '[app id]'. Please try again. If the problem persists, please contact Apple Developer Program Support. https://developer.apple.com/support 

這導致我仔細檢查團隊的ID,這對於一些原因是不正確的。我在磁盤上搜索了團隊ID和應用ID,並在project.pbxproj文件和[projectname].xcent文件中找到了錯誤的團隊ID。

後面的文件甚至在字典key keychain-access-groups的值中包含組ID +捆綁ID,該值是此問題中錯誤消息的一部分。

我在這兩個文件中共更改了三個地方的團隊ID,並重新打包了應用程序。突然之間,一切都奏效了。 :)