如何通过Windows Intune分发IPA

4

我想知道如何通过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 build ios生成的PhoneGap 3.2.0应用程序。我正在使用Xcode 5.0.2,并且我正在尝试安装应用程序的设备运行iOS 7.0.4。

日志中方括号内的所有内容都是由我替换的。

1个回答

2

我已成功分发了IPA文件。当我在新的iPad设备上尝试运行应用程序时,Xcode首先尝试将设备添加到iOS开发者中心帐户和团队。

一开始它说添加设备的请求正在等待中。然后它开始给我一个错误消息。第一个对话框如下所示:

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 + Bundle ID,这是问题描述中的一部分错误信息。
我在这两个文件中的三个位置更改了团队ID并重新打包了应用程序。突然间一切都正常了。 :)

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接