Xcode 4.5 - Wirelessly build app on my device

亡梦爱人 提交于 2019-11-29 23:24:25

You can certainly do this. Make your own app store :)

First, build your app to an archive (.IPA) file. Next, export your project PLIST file.

This should look something like this:

<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>[URL]</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>com.usaa.FileTransfer</string>
                <key>bundle-version</key>
                <string>2.21</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>File Transfer</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

Finally:

  1. Ensure that the string entry for [URL] contains the correct path to your archive (IPA).
  2. Create a small HTML page with a download link to that plist file. (see below) Be sure to include the mime-types below!

  3. Navigate to that download link via your iPhone and install!

    a href=itms-services://?action=download-manifest&url=YOURURLGOESHERE>Download App

MIME Types

application/octet-stream ipa
text/xml plist

If you try to navigate on anything other than an iPhone you will get an error about the itms protocol not being recognized. You can test this out on your desktop by right clicking the link, and select copy shortcut. Paste into the url browser, and remove the everything except your plist URL location. This should kick off a download on you browser and you should receive the ipa file (which you can uncompress and check out)

Find more info here!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!