Using itemServices to mount IPA (similar to fir.im)

Friends who have done IOS development know that there are not many ways to install ipa packages on mobile phones:

1. appstore

2. Use fir.im

3. Use pp assistant

4. Use itemServices

....

The first three, ipa packages are on other people's servers, and the operation is relatively simple. Today I'm going to talk about the fourth.

itemServices is a protocol introduced by apple. Based on this protocol, we deploy a server locally and store the ipa package to the local server. Then, testers can update the app through the intranet as long as they access the specific address through the Safari browser of iOS test device.

The preparation is as follows:

1. Pack an enterprise signature package with an enterprise account. Other types of ipa packages cannot be installed on the device

2. The format of XXX.plist file is as follows. You can reuse it directly

<?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://XX / xxx.ipa (address of IPA package) < / String >
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>app Of bundleID</string>
                <key>bundle-version</key>
                <string>Version number</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>Download title</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

3. An http server with s certificate. Alibaba cloud, Tencent cloud and other service providers have free certificates available, or put them on github

The preparation step is completed. Next, access plist's address on Apple mobile browser, and you can automatically install the app on your mobile phone.

 

 

Tags: Mobile iOS xml encoding

Posted on Thu, 28 Nov 2019 13:15:53 -0800 by jimwp