企业应用部署不会安装在 iOS 8.1.3 上 [英] Enterprise app deployment doesn't install on iOS 8.1.3

查看:12
本文介绍了企业应用部署不会安装在 iOS 8.1.3 上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新 iOS 8.1.3 后,我尝试下载,但出现错误无法下载应用程序"和此时无法安装"消息.

After updating iOS 8.1.3, I tried to download, but getting error "Unable to download app" and "could not be installed at this time" messages appears.

我必须考虑 8.1.2 和 8.1.3 之间的哪些变化?

What are changes between 8.1.2 and 8.1.3 which i have to take into consideration?

下载模式:

一个href="itms-services://?action=download-manifest&url=https://****.plist">

Download mode:
< a href="itms-services://?action=download-manifest&url=https://****.plist">

谢谢!

推荐答案

经过几个小时的绞尽脑汁,我是这样做的:

After a few hours wracking braincells, here's how I did it:

注意:我目前尚未针对 iOS 8.1.2 或更低版本对此进行测试(请谨慎操作!)

对于已经使用您自己的企业证书签名的应用,您所要做的(正如 RAStudios 在他的编辑中提到的那样)就是编辑 manifest.plist:

For apps that have ALREADY been signed with your OWN enterprise certificate, all you have to do (as mentioned by RAStudios in his edit) is to edit the manifest.plist:

之前:

<key>bundle-identifier</key>
<string>uk.co.acme.AcmeApp</string>

之后:

<key>bundle-identifier</key>
<string>S836XXACME.uk.co.acme.AcmeApp</string>

对于由第三方签名的应用,您要使用企业证书辞职(本演练假设 ipa 文件是 AcmeApp.ipa,您的权利文件是 entitlements.plist 并且您的配置文件是 provProvile.mobileprovision;所有文件都在桌面文件夹 (Mac OSX) 中,S836XXACME 是您的团队标识符):

For apps that have been signed by a third party that you're resigning with your enterprise certificate (this walkthrough is assuming the ipa file is AcmeApp.ipa, your entitlements file is entitlements.plist and your provisioning profile is provProvile.mobileprovision; all files are in the Desktop folder (Mac OSX), and S836XXACME is your team identifier):

创建一个新的 entitlements.plist 文件:

Create a new entitlements.plist file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>S836XXACME.uk.co.acme.AcmeApp</string>
<key>get-task-allow</key>
<false/>
</dict>
</plist>

解压ipa:

cd ~/Desktop

unzip AcmeApp.ipa 

删除代码签名:

rm -r Payload/AcmeApp.app/_CodeSignature/ 

复制到 mobileprovision 文件中:

Copy in the mobileprovision file:

cp provProfile.mobileprovision Payload/AcmeApp.app/embedded.mobileprovision 

代码设计:

codesign -f -s "iPhone Distribution: ACME Corporation Limited" --entitlements entitlements.plist Payload/AcmeApp.app

将其压缩为已辞职的 ipa:

Zip it up as the resigned ipa:

zip -qr AcmeApp_resigned.ipa Payload/

您还需要根据之前已经"签名的部分修改 manifest.plist 文件:

You also need to amend the manifest.plist file as per the 'ALREADY' signed part earlier:

<key>bundle-identifier</key>
<string>S836XXACME.uk.co.acme.AcmeApp</string>

这篇关于企业应用部署不会安装在 iOS 8.1.3 上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆