蘋果手機升級iOS14無線安裝沒法安裝問題

參考地址:https://blog.csdn.net/qq_44212951/article/details/108647236ios

 iOS14以前,只須要plist文件走https便可,最近手機升級到iOS14後,發現沒法安裝,由於個人plist內,ipa下載地址是http的,ipa也換成https後能正常安裝(ipa走內網彷佛沒有這個問題)。app

注意申請或購買靠譜的SSL證書(我是在騰訊雲申請的免費證書)。ide

<a href="itms-services://?action=download-manifest&url=https://www.yilabao.com/apps/452423.plist">無線安裝ipa</a>

貼下我動態生成的plist文件:url

<?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.yilaobao.com/apps/com.ylb.bigapp-V1.7.0-C357-20200917191621-ios.ipa</string>
				</dict>
				<dict>
					<key>kind</key>
					<string>display-image</string>
					<key>needs-shine</key>
					<true/>
					<key>url</key>
					<string>https://www.yilaobao.com/apps/18050913/ios/config/57.png</string>
				</dict>
				<dict>
					<key>kind</key>
					<string>full-size-image</string>
					<key>needs-shine</key>
					<true/>
					<key>url</key>
					<string>https://www.yilaobao.com/apps/18050913/ios/config/512.png</string>
				</dict>
			</array>
			<key>metadata</key>
			<dict>
				<key>bundle-identifier</key>
				<string>com.ylb.bigapp</string>
				<key>bundle-version</key>
				<string>1.7.0</string>
				<key>kind</key>
				<string>software</string>
				<key>subtitle</key>
				<string>易拉寶</string>
				<key>title</key>
				<string>易拉寶</string>
			</dict>
		</dict>
	</array>
</dict>
</plist>
相關文章
相關標籤/搜索