Chapter 10 Appendices 85
Set server MIME types
You may need to congure your web server so the manifest le and app le are
transmitted correctly.
For OS X Server, add the following MIME types to the web service’s MIME Types settings:
application/octet-stream ipa
text/xml plist
For IIS, use IIS Manager to add the MIME type in the Properties page of the server:
.ipa application/octet-stream
.plist te
xt/xml
Troubleshoot wireless app distribution
If wireless app distribution fails with an “unable to download” message:
•
Make sure the app is signed correctly. Test it by installing it on a device using Apple
Congurator, and see if any errors occur.
•
Make sure the link to the manifest le is correct and the manifest le is accessible to
web users.
•
Make sure the URL to the .ipa le (in the manifest le) is correct and the .ipa le is accessible
to web users over HTTPS.
Network conguration requirements
If the devices are connected to a closed internal network, you should let iOS devices access the
following:
•
ax.init.itunes.apple.com: The device obtains the current le-size limit for downloading apps
over the cellular network. If this website isn’t reachable, installation may fail.
•
ocsp.apple.com: The device contacts this website to check the status of the distribution
certicate used to sign the provisioning prole.
Provide updated apps
Apps you distribute yourself aren’t automatically updated. When you have a new version for
users to install, notify them of the update and instruct them to install the app. Consider having
the app check for updates and notify the user when it opens. If you’re using wireless app
distribution, the notication can provide a link to the manifest le of the updated app.
If you want users to keep the app’s data stored on their device, make sure the new version uses
the same bundle identier as the one it’s replacing, and tell users not to delete their old version
before installing the new one. The new version replaces the old one and keeps data stored on
the device, if the bundle identiers match.
Distribution provisioning proles expire 12 months after they’re issued. After the expiration date,
the prole is removed and the app won’t launch.
Before a provisioning prole expires, go to the iOS Dev Center website to create a new prole for
the app. Create a new app archive (.ipa) with the new provisioning prole, for users installing the
app for the rst time.
100% resize factor