Deploying iOS apps to devices when you are not using an App Store or an Enterprise Mobility Management (EMM) solution can be a challenge. With EMM’s, you may be able to use the enterprise store to deploy the apps to selected devices, but when this is not an option, you can set up a simple webpage that will initiate the apps’ installation directly to iOS devices.
This Knowledge Base article provides step-by-step instructions for setting up a simple webpage to deploy iOS apps.
How to Set up a simple webpage to deploy iOS apps
To deploy apps directly to iOS devices, you can set up a simple static webpage that devices can access directly with the mobile Safari browser. You can email users an iOS app install link from this simple webpage that will initiate the download and install process for the app on the device.
Prerequisites for setting up the server
- A web server with SSL support and a valid trusted certificate.
- A mobile iOS app saved in a location accessible to the iOS devices.
- A web server that supports the MIME types: .plist; .ipa
Create a .plist file for the app
1. Create a new .plist file with this content:
<?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">
2. Update the values in the file to match the app you want to deploy
- PATH_TO_APP_BINARY – e.g. https://website.com/folder/app.ipa
- APP_BUNDLE_ID – e.g. com.appdome.app2
- APP_BUNDLE_VERSION – e.g 1.0.0
- APP_DISPLAY_NAME – e.g. Appdome Test App
3. Save the .plist file in a location accessible to the server.
Create a static page
Create a static page that includes a hyperlink with the target set to:
Update the URL to point to the .plist file you created in the previous stage.
For instance, a simple page:
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<title>iOS app download</title>
<div class="col" align=center>
<h2 class="cover-heading">Download the app</h2>
<p class="lead">Click the button below to download and install the app</p>
<a href="itms-services://?action=download-manifest&url=https://csweb1.appdomelabs.com:44300/iosapp_site/app.plist" class="btn btn btn-success btn-lg">Download</a>
Download the app
1. Access the webpage with the Safari mobile browser on an iOS device
2. Click the Download link
3. Click “Install” in the popup modal
The app will be downloaded and installed on the device.
How Do I Learn More?
Check out our blog for more resources on troubleshooting.
If you have any questions, please send them our way at email@example.com or via the chat window on the Appdome platform.
Thanks for visiting Appdome! Our mission is to make mobile integration easy. We hope we’re living up to the mission with your project. If you don’t already have an account, you can sign up for free.