欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

IOS系统在Safari安装ipa文件

程序员文章站 2023-11-04 12:36:40
配置点击下载的地址 ......

配置点击下载的地址

itms-services://?action=download-manifest&url= "plist文件路径"
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>http://****/download/bossonline.ipa</string>
				</dict>
				<dict>
					<key>kind</key>
					<string>display-image</string>
					<key>url</key>
					<string>https://download.chinabaoao.com/ios_yabo/image.57x57.png</string>
				</dict>
				<dict>
					<key>kind</key>
					<string>full-size-image</string>
					<key>url</key>
					<string>https://download.chinabaoao.com/ios_yabo/image.512x512.png</string>
				</dict>
			</array>
			<key>metadata</key>
			<dict>
				<key>bundle-identifier</key>
				<string>com.yabo.games4</string>
				<key>bundle-version</key>
				<string>3.2.1</string>
				<key>kind</key>
				<string>software</string>
				<key>title</key>
				<string>boos</string>
			</dict>
		</dict>
	</array>
</dict>
</plist>

  



iis网站配置
要添加网站mime类型 扩展名填:plist   mime类型填:application/xml

并且网站要配置成https,就可以在ios浏览器中下载ipa文件了