[英]Xcode 6 iOS app enterprise distribution via URL
We have an iOS app, which stopped installing with the following error: 我们有一个iOS应用,该应用因以下错误而停止安装:
"Unable to Download App [name] could not be installed at this time" “目前无法安装无法下载应用程序[名称]”
when trying to install on any iOS version 9 devices. 尝试在任何iOS版本9设备上安装时。
I used Xcode 6
to rebuild .ipa file and used plist and html files from the old build, but we still get the same error. 我使用Xcode 6
来重建.ipa文件,并使用旧版本中的plist和html文件,但是我们仍然遇到相同的错误。 Also I do not know how to recreate plist using Xcode 6
. 另外,我也不知道如何使用Xcode 6
重新创建plist。
Any help would be great 任何帮助都会很棒
Make sure you properly export the ipa from Xcode, according to the Distribution Guide . 根据分发指南 ,确保从Xcode正确导出了ipa。 Make sure to select “All compatible device variants” . 确保选择“所有兼容的设备型号” 。 You can also select to create a new plist manifest at the export. 您还可以选择在导出时创建新的plist清单。
The server has to serve the html website over TLS/SSL. 服务器必须通过TLS / SSL服务html网站。 Is your certificate valid and trusted by iOS? 您的证书是否受iOS有效和信任? Your server has support everything that App Transport Security requires, ie TLS 1.2 with forward secrecy. 您的服务器支持App Transport Security所需的所有内容,即具有前向保密性的TLS 1.2。
Requirements for Connecting Using ATS With ATS fully enabled, your app's HTTP connections must use HTTPS and must satisfy the following security requirements: 使用ATS连接的要求在完全启用ATS的情况下,您应用的HTTP连接必须使用HTTPS,并且必须满足以下安全要求:
The server certificate must meet at least one of the following trust requirements: Issued by a certificate authority (CA) whose root certificate is incorporated into the operating system Issued by a trusted root CA and installed by the user or a system administrator The negotiated Transport Layer Security version must be TLS 1.2 The negotiated TLS connection cipher suite must support forward secrecy (FS) and be one of the following: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA The leaf server certificate must be signed with one of the following types of keys: Rivest-Shamir-Adleman (RSA) key with a length of at least 服务器证书必须至少满足以下信任要求之一:由证书颁发机构(CA)颁发,其根证书已合并到操作系统中,由受信任的根CA颁发并由用户或系统管理员安装安全版本必须为TLS 1.2协商TLS连接密码套件必须支持向前保密(FS),并为下列之一:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA叶服务器证书必须有以下类型之一进行签名密钥组:Rivest-Shamir-Adleman(RSA)密钥,长度至少为 2048 bits Elliptic-Curve Cryptography (ECC) key with a size of at least 256 bits In addition, the leaf server certificate hashing algorithm must be Secure Hash Algorithm 2 (SHA-2) with a digest length of at least 256 (that is, SHA-256 or greater). 2048位的椭圆曲线密码(ECC)密钥,其大小至少为256位。此外,叶服务器证书哈希算法必须是摘要长度至少为256(即, SHA-256或更高版本)。
if you update the ios with the latest ios 9.2 the issue will be solved. 如果您使用最新的ios 9.2更新ios,则将解决此问题。
Thanks. 谢谢。
I fixed the issue by creating a new distribution profile. 我通过创建新的分发配置文件解决了该问题。 After searching more on this, I found the following text on page 86 of in the Apple's iOS Deployment Reference ( https://manuals.info.apple.com/MANUALS/1000/MA1685/en_US/ios_deployment_reference.pdf ) 在对此进行更多搜索之后,我在Apple的iOS部署参考( https://manuals.info.apple.com/MANUALS/1000/MA1685/en_US/ios_deployment_reference.pdf )的第86页上找到了以下文本
If your distribution certificate expires, the app won't launch. 如果您的发行证书过期,则该应用将无法启动。 Your distribution certificate is valid for three years from when it was issued, or until your Enterprise Developer Program membership expires, whichever comes first. 您的发行证书自颁发之日起三年内有效,或直到您的企业开发者计划成员资格到期为止,以先到者为准。 To keep your certificate from expiring, be sure to renew your membership before it expires. 为了防止证书过期,请确保在过期之前更新您的会员资格。
You can have two distribution certificates active at the same time, with each independent from the other. 您可以同时激活两个分发证书,每个证书彼此独立。 The second certificate provides an overlapping period in which you can update your apps before the first certificate expires. 第二个证书提供了一个重叠的时间段,您可以在第一个证书到期之前更新您的应用程序。 When you request your second 当您要求第二次
Looks like the app has to be repackaged with a new distribution profile each year after renewing the membership. 似乎每年更新会员资格后,都必须使用新的发行资料重新打包该应用程序。
Also this App still worked on iOS 9 when I used Xcode 6 to repackage it using new profile. 当我使用Xcode 6使用新的配置文件重新打包它时,此应用程序仍可在iOS 9上使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.