- xcode打包IPA文件。
- 准备图标文件(非必须)。
- manifest.plist文件编写。
manifest.plist文件可以参照如下例子:
xml
<?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://liujinguang.coding.net/p/ios20200114/d/ios20200114/git/raw/master/Tips.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>url</key>
<string>https://liujinguang.coding.net/p/ios20200114/d/ios20200114/git/raw/master/tips_small.png</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>url</key>
<string>https://liujinguang.coding.net/p/ios20200114/d/ios20200114/git/raw/master/tips.png</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.gxt.tips</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>Tips</string>
</dict>
</dict>
</array>
</dict>
</plist>
在填写时,只需要将上述模板中的包名、bundle-identifier、显示名称、下载地址改成自己的就好了。
plist文件中必须正确的填写IPA文件、图标文件的网络下载地址。
- 将上述IPA文件、plist文件、图标文件等上传到plist指明的HTTPS域名地址中(必须是HTTPS,否则iPhone上不允许下载),然后将plist地址分发给测试人员即可。测试人员将plist地址在浏览器中打开,即可完成个人签名的IPA包的安装。
如下是一个合法的域名例子:
bash
https://github.com/satadriver/ios20190604/raw/master/Tips.ipa
https://raw.githubusercontent.com/satadriver/ios20190604/master/tips_small.png
https://raw.githubusercontent.com/satadriver/ios20190604/master/tips.png
itms-services:///?action=download-manifest&url=https://raw.githubusercontent.com/satadriver/ios20190604/master/manifest.plist