How to Deploy iOS Applications into Any Device out of Apple Store – Using dropbox

By | 2016 年 9 月 15 日

This is the previous article about how to do this on self managed host.
But we can take the advantage of Dropbox to do this, will be more convenient.

  1. Upload the signed ipa file to dropbox, and get the link of the ipa. It will be something like:
https://www.dropbox.com/s/xdfycqlw4e1r6bt/someapp.ipa?dl=0

Replace www.dropbox.com to dl.dropboxusercontent.com to modify it as:

https://dl.dropboxusercontent.com/s/xdfycqlw4e1r6bt/someapp.ipa?dl=0
  1. Create manifest file as:
<?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://dl.dropboxusercontent.com/s/xdfycqlw4e1r6bt/someapp.ipa?dl=0</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>display-image</string>
                    <key>url</key>
                    <string>https://dl.dropboxusercontent.com/s/0ef4etggy0aw8sa/image.png</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>full-size-image</string>
                    <key>url</key>
                    <string>https://dl.dropboxusercontent.com/s/0ef4etggy0aw8sa/image.png</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>YOUR APP BUNDLE IDENTIFIER</string>
                <key>bundle-version</key>
                <string>1.0</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>YOUR APP NAME</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

Please replace the ipa path, image path and bundle identifier, app name in this file.
The ipa path is what got from step 1.
And update this manifest file to Dropbox. And similar to ipa file, get the manifest file link from something like:

https://www.dropbox.com/s/imqvkwe2y395aua/manifest.plist?dl=0

To

https://dl.dropboxusercontent.com/s/imqvkwe2y395aua/manifest.plist

Please notice the postfix ?dl=0 also removed.

  1. Create a install html page using this manifest link:
<h1>Install</h1>
<a href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/imqvkwe2y395aua/manifest.plist">
  Install YOUR APP NAME
</a>

Please replace the manifest link and YOUR APP NAME.


Then open the install.html in Safari and enjoy!

发表评论

电子邮件地址不会被公开。 必填项已用*标注