我使用Ad-hoc配置文件导出带有清单文件的IPA,以便从我的Web服务器下载测试人员。我将.ipa,.plist,images和index.html上传到服务器位置
像这样:
/var/www/html/apps/DemoPad.ipa
/var/www/html/apps/manifest.plist
/var/www/html/apps/image.png
/var/www/html/apps/image-full.jpg
/var/www/html/apps/index.html
我向这样的测试人员发送了一个网址(https://www.example.com/apps/index.html)
但是当在iphone浏览器(Safari)中打开下载时,它会提示一条消息"无法连接到www.example.com"
这是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://www.example.com/apps/DemoPad.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>url</key>
<string>https://www.example.com/apps/image.png</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>url</key>
<string>https://www.example.com/apps/image-full.jpg</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.example.webpad</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>DemoPad</string>
</dict>
</dict>
</array>
</dict>
</plist>
这是我的Index.html
<html>
<head>
<title>Demo</title>
</head>
<body>
<a href="itms-services://?action=download-manifest&url=https://www.example.com/apps/manifest.plist">Install</a>
</body>
</html>
有人可以告诉我如何解决它吗?