Documentation Archive

Developer

On-Demand Resources Guide

Hosting Essentials

You can host on-demand resources for your app on any compliant web server. Apps distributed through the App Store can retrieve on-demand resources from your own web server during development and testing, but must use Apple's hosting when published on the App Store. Enterprise apps using in-house distribution can retrieve on-demand resources from your own web server during both development and distribution.

Hosting On-Demand Resources

Host on-demand resources on any web server using the following steps:

  • Configure your server security.

  • Choose a URL for hosting the on-demand resources asset packs.

  • Generate the asset packs.

  • Add the asset packs to the server.

  • Enable the app to use the hosted asset packs.

Server Security Requirements

Hosting on-demand resources requires that a server comply with the Apple app transport security requirements. This includes having an SSL connection with a valid certificate signed by an appropriate authority. An app can be configured to reduce the security requirements. For more information, see the NSAppTransportSecurity key in the Cocoa Keys chapter of the Information Property List Key Reference.