Install ios application with plist

Step one:

When using MACBOOK to export ipa, we get ipa and a plist file

When you see the plist we exported, you need to notice that two of them have been marked in Chinese.

One is the URL, one is the bundle identifier

<?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>Please fill in your ipa Download address(such as:http://127.0.0.1/app.ipa)</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
    <string>Please fill in your developer certificate user name</string>
                <key>bundle-version</key>
                <string>1.0</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>Please fill in the title</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

1. The URL is where our ipa is stored. For example, if you have an Internet server with an ip address of 12.34.56.78, and the ipa is stored in the APP folder, fill in this location

http://12.34.56.78/app/Application name.ipa

2. Bundle identifier is the name when you apply for the certificate. The format is generally somebody.app name

3. These two point s should be filled in when you use XCODE to export ipa

============================

The second step:

The purpose of using seven bull storage is that it provides us with https connection

Please refer to the specific operation steps
http://blog.csdn.net/longxibendi/article/details/37601747

After the operation, just copy the generated hyperlink
http://dn- Defined space name.qbox.me/application name.plist
Change to
https://dn- Defined storage name.qbox.me/application name.plist

Fill in the following HTML file and add it to the web server to publish

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Application name</title>
</head>
<body>
<h1 style="font-size:80pt">If you can't download the installation by clicking, please copy the hyperlink to open it in the browser<h1/>
<h1 style="font-size:100pt">
<a title="iPhone" href="itms-services://? action = download manifest & url = https://dn-your space name.qbox.me/your plist storage location / your plist name.plist“>
Iphone Download</a><h1/>
</body>
</html>

The third step:
For example, the address where you publish this HTML page is

http://12.34.56.78/iphoneAPP.html

Put the generated hyperlink in the http://cli.im/url , generate QR code, and then scan it with mobile phone. You can complete the process of using Plist to publish the entire enterprise APP.


Tags: xml encoding xcode Web Server

Posted on Sun, 29 Mar 2020 14:12:12 -0400 by geebo