Andoxko Andoxko - 1 year ago 295
iOS Question

Download and install an ipa from url on iOS

I need to download and install an

directly from an URL.

I have tried this:

NSURL *url = [NSURL URLWithString:@""];
[[UIApplication sharedApplication] openURL:url];

The app launches Safari but then this message appears:

Error Message "Download Failed, Safari cannot download this file."

Is it possible?

Answer Source

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:

  • The .ipa file (using an ad-hoc provisioning profile)
  • index.html
  • manifest.plist

You can use Beta Builder to generate these files:

  1. Archive your build.
  2. Save the .ipa on the Desktop.
  3. Download a small utility Beta Builder from here. This does most of the required task.
  4. Open the tool and select your .ipa file, then provide the path you will be placing the build on in the beta builder.
  5. Generate all the files.
  6. Now upload index.html, your_App.ipa, & manifest.plist to your server path
  7. Now share the link of index.html. Once you open this file, you will be asked to Tap on install.
  8. It will install your_App.ipa on your device.

You can also do this more manually.


<a href="itms-services://?action=download-manifest&url=">Install App</a>


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
                <string>YOUR APP NAME</string>

If the app refuses to install or run, you may need to check the following items:

  • The provisioning profile you've used when compiling/archiving your app
  • The URLs in both index.html and manifest.plist
  • The plist file may possibly need to be hosted on an HTTPS server. You can use Dropbox for this if necessary.
  • Your device UUIDs may need to be registered inside Apple Developer Center unless you have an Enterprise licence
  • You may need to manually enable access to the app within Settings > Profiles
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download