Pol*_*les 6 ssl-certificate ios ios-enterprise
我面临一个严重的问题.我正在努力使企业应用程序生效.通过使用BetaBuilder我遵循以下步骤:
myApp.ipa
manifest.plist
index.html
Run Code Online (Sandbox Code Playgroud)
manifest.plist:
<?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>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>https://example.com/ios/myapp.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.com.myapp</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>Myapp</string>
</dict>
</dict>
</array>
</dict>
</plist>
Run Code Online (Sandbox Code Playgroud)
和index.html文件:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>Myapp - Beta Release</title>
</head>
<body>
<div id="container">
<h1>iOS 4.0 Users:</h1>
<div class="link"><a href="itms-services://?action=download-manifest&url=https://example.com/ios/manifest.plist">Tap Here to Install</a>
</div>
</div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
我还送链接http到https.但它总是说:Cannot connect to example.com.设置有什么问题?
必须通过使用带有经过验证的SSL证书的SSL来提供无线iOS分发.
现在要取消OTA,你必须遵循这些步骤.
1)提供指向生成的.plist文件的链接,该文件包含应用程序下载的清单.此链接必须通过SSL提供经过验证的SSL证书.有效.plist文件的示例如下:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>https://[full download url].ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string><full bundle identifier></string>
<key>bundle-version</key>
<string>[version string]</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>[software name]</string>
</dict>
</dict>
</array>
</dict>
</plist>
Run Code Online (Sandbox Code Playgroud)
2).plist必须从有效的SSL证书提供文件中的 URL密钥.
现在我不是100%的服务器设置,但Web服务器可能无法正确响应.plist扩展和.ipa扩展.您必须将Web服务器设置为了解以下文件扩展名\ mime-type:
.plistMime类型: application/xml
延期: .ipa
application/octet-stream我们首先让我们的应用程序无线部署时遇到了许多问题.最大的障碍是SSL证书和MimeTypes.
最后一条评论,我相信你有自己的域名,并且在你的链接或plist文件中没有使用example.com.
干杯..
| 归档时间: |
|
| 查看次数: |
4148 次 |
| 最近记录: |