1、首先你要有企业签名的包xxx.ipa
2、使用7z提取包里面的一个叫做Info.plist
<key>CFBundleIdentifier</key>
<string>[BUNDLE ID]</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>[APP TITLE]</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>[VERSION]</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
3、创建一个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>[INSERT URL HERE]</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>[BUNDLE ID]</string>
<key>bundle-version</key>
<string>[VERSION]</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>[APP TITLE]</string>
</dict>
</dict>
</array>
</dict>
</plist>
4、使用手机浏览器访问(apple)
<a href="itms-services://?action=download-manifest&url=https://xxx.com/apps/xxx.plist" id="text">IOS</a>
5、注意问题 xxx.ipa 和 xxx.plist 都需要上传至https的服务器,就是支持ssl的服务器
同时吐槽一下,我他妈一个写php的,搞这鸡巴IOS的问题,好坑,好深。