How to scan and download and install the IPA installation package on your company website on ios

How can the IPA installation package packaged with the enterprise certificate (or 99 certificate, but with a limit of 100 devices) be released to users for installation and use?

I tried to directly give the user a link to the .ipa package. The phone cannot be installed like an Android phone. Usually, we test the package dandelion placed in Dandelion. It should be handled.

 

Environmental preparation

  • One IPA installation package 
  • Corresponding plist file 
  • Support Https service environment

1. .ipa package

      It is the normal ipa package process.

2. Deploy the plist file and IPA installation package

     Put the IPA package and plist file on your own server, let the background deployment (https://)

      Background being not of this function, we can first upload   github and seven cattle   . Put the ipa package of this example on github

 

 

 

     The following is the process of generating .plist.

     We use xcode to generate a .plist file, named manifest.plist. Right click openAs->source code and copy the code below. (It is mainly the download address of the ipa package, the upgraded version, bundle-identifier, etc., which should be replaced with your own.     

<?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://github.com/chenailuo/plist2/blob/master/btcdoApp.ipa</string>  //把"https://.ipa"换成你自己的ipa包的地址。让后台系统做做一个上传功能,生成一个可访问下载的链接。本demo暂时把包放在了github网站,如果后台还没有做这个功能,你也可以先把.ipa包传到github上,上传后把地址替换上
				</dict>
			</array>
			<key>metadata</key>
			<dict>
				<key>bundle-identifier</key>
				<string>qihang.purbull.app</string> //”qihang.purbull.app“换成你的bundleId
				<key>bundle-version</key>   
				<string>1.0.0</string>    //换成你的更新版本号
				<key>kind</key>
				<string>software</string>
				<key>title</key>
				<string>EasyBtc</string>  //换成你的aPP名字,替换完后我的注释都可以删掉
			</dict>
		</dict>
	</array>
</dict>
</plist>

 

 

Put the prepared plist file and IPA installation package on github (your server), and get the link to the .plist address. Click on the .plist file, and after clicking raw, copy the URL of the browser to be the address of the plist.

3. Download and use

Open the following code on Safari. It prompts you to install and download~~~~~

<itms-services://?action=download-manifest&url=https://raw.githubusercontent.com/chenailuo/plist2/master/manifest.plist>

Note: The "manifest" action=download-manifest is the name of the plist file you named above. If it is inconsistent, you will not be able to download it, because I wasted a long time. The URL is your .plist address, not the .ipa address.

* 我们可以看到  “href=” 里面是指向了 plist 文件的地址(而不是IPA安装包的地址)
* 最好还是使用iPhone设备自带的Safari浏览器打开该页面,点击下载。

 

When deploying to your company's webpage, this step is done by front-end personnel. Okay, over.

Attach my demo address https://github.com/chenailuo/plist2

Guess you like

Origin blog.csdn.net/ximiaoweilai/article/details/103321992