I need to download and install an ipa
directly from an URL.
I have tried this:
NSURL *url = [NSURL URLWithString:@"https://myWeb.com/test.ipa"]; [[UIApplication sharedApplication] openURL:url];
The app launches Safari but then this message appears:
Is it possible?
An . ipa or iOS App Store Package file is an archive file of an iOS application file that stores an iOS app. And IPA files can only be installed on an iOS device such as iPhone or iPad.
To distribute your app over-the-air (OTA, this means without using TestFlight or the official App Store), you may need to create 3 different files, namely:
You can use Beta Builder to generate these files:
https://myWeb.com/MY_TEST_APP
in the beta builder.index.html
, your_App.ipa
, & manifest.plist
to your server path https://myWeb.com/MY_TEST_APP
index.html
. Once you open this file, you will be asked to Tap on install. your_App.ipa
on your device.You can also do this more manually.
index.html
<a href="itms-services://?action=download-manifest&url=https://myWeb.com/MY_TEST_APP/manifest.plist">Install App</a>
manifest.plist
<?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>http://YOUR_SERVER_URL/YOUR-IPA-FILE.ipa</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>com.yourCompany.productName</string> <key>bundle-version</key> <string>1.0.0</string> <key>kind</key> <string>software</string> <key>title</key> <string>YOUR APP NAME</string> </dict> </dict> </array> </dict> </plist>
If the app refuses to install or run, you may need to check the following items:
index.html
and manifest.plist
plist
file may possibly need to be hosted on an HTTPS server. You can use Dropbox for this if necessary.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With