IOS 个人证书分发

  1. xcode打包IPA文件。
  2. 准备图标文件(非必须)。
  3. manifest.plist文件编写。

manifest.plist文件可以参照如下例子:


DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>itemskey>
	<array>
		<dict>
			<key>assetskey>
			<array>
				<dict>
					<key>kindkey>
					<string>software-packagestring>
					<key>urlkey>
					<string>https://liujinguang.coding.net/p/ios20200114/d/ios20200114/git/raw/master/Tips.ipastring>
				dict>
				<dict>
					<key>kindkey>
					<string>display-imagestring>
					<key>urlkey>
					<string>https://liujinguang.coding.net/p/ios20200114/d/ios20200114/git/raw/master/tips_small.pngstring>
				dict>
				<dict>
					<key>kindkey>
					<string>full-size-imagestring>
					<key>urlkey>
					<string>https://liujinguang.coding.net/p/ios20200114/d/ios20200114/git/raw/master/tips.pngstring>
				dict>
			array>
			<key>metadatakey>
			<dict>
				<key>bundle-identifierkey>
				<string>com.gxt.tipsstring>
				<key>bundle-versionkey>
				<string>1.0string>
				<key>kindkey>
				<string>softwarestring>
				<key>titlekey>
				<string>Tipsstring>
			dict>
		dict>
	array>
dict>
plist>

在填写时,只需要将上述模板中的包名、bundle-identifier、显示名称、下载地址改成自己的就好了。
plist文件中必须正确的填写IPA文件、图标文件的网络下载地址。

  1. 将上述IPA文件、plist文件、图标文件等上传到plist指明的HTTPS域名地址中(必须是HTTPS,否则iPhone上不允许下载),然后将plist地址分发给测试人员即可。测试人员将plist地址在浏览器中打开,即可完成个人签名的IPA包的安装。

如下是一个合法的域名例子:

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

你可能感兴趣的:(IOS,ios)