(以下指企业开发者打包,或测试打包)ios申请证书、profile文件都没有问题,有没有遇到点击下载地址ios14安装不上,提示无法安装,ios13却可以?这可能是hbuilderx打包后的链接问题,只需把ipa包下载下来,重新新建一个plist文件,填写后,随便写个html,使用a链接href指向itms-services://?action=download-manifest&url=www.abc.com/aa/bb/xxxxx.plist(xxxxx是plist文件名,一般放服务器上),点击此a链接即可安装。
version_1.0.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.xxx.com/update/1.0.0/xxxx.ipa</string> //ipa路径
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>url</key>
<string>https://www.abc.com/update/logo.png</string> //安装时的icon
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>url</key>
<string>https://www.abc.com/update/small_logo.png</string> //安装时的小一圈的icon
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>io.dcloud.H5123456</string> //app BundleID 打包名
<key>bundle-version</key>
<string>1.0.0</string> //版本号
<key>kind</key>
<string>software</string>
<key>title</key>
<string>appName</string> //app名称
</dict>
</dict>
</array>
</dict>
</plist>
只需修改以上带注释的标签内容即可。