Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Digital publishing /

Distributing enterprise iOS viewer applications with Digital Publishing Suite

by Derek Lu

Derek Lu
  • Adobe

Content

  • Creating an enterprise viewer application
  • Hosting the viewer application for distribution
  • Securing the hosted application

Created

19 March 2012

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
customization digital publishing Digital Publishing Suite file management services

Requirements

Prerequisite knowledge

  • Basic understanding of how to edit HTML and XML
  • Ability to create a Viewer app for iOS (.ipa) using Digital Publishing Suite Viewer Builder

Additional required products

  • A subscription to the Apple iOS Developer Enterprise Program
  • A web server to host your application and associated files

User level

All

Required products

  • Digital Publishing Suite, Enterprise Edition

Sample files

  • enterprise_distribution.zip

Note: If you have questions about this article, use the comments feature at the bottom of the article. Please don’t contact technical support with questions about Adobe Developer Connection articles.

Increasingly, Adobe Digital Publishing Suite customers want to deploy viewer applications directly to employees or to members of their organization rather than through the application store. Apple allows you to distribute iOS applications using an enterprise distribution provisioning profile. When you use this profile, you do not have to distribute an application through the application store. Rather, your end users can download and install an application from a web page. This tutorial explains how to create an enterprise viewer application and set up a web page for authorized users to download and install it. To make use of enterprise distribution, you must have a web server that can host three files: enterprise_viewer.plist, index.html and your .ipa (viewer app).

Creating an enterprise viewer application

Follow the steps below to learn how to create an enterprise viewer using Viewer Builder.

  1. Read more about using Viewer Builder if you’re just getting started using Digital Publishing Suite.
  2. Enroll in the Apple iOS Developer Enterprise Program. This step is required to create an enterprise viewer. Within the iOS Developer Enterprise Program, create an enterprise mobileprovision file.
  3. Create an enterprise viewer using Viewer Builder.
       a. Create a viewer like you normally would except on the provisioning screen, select the “Enterprise
           signed build” option (Figure 1).
Figure 1: Provisioning your viewer for enterprise distribution
Figure 1: Provisioning your viewer for enterprise distribution
  1. Create the enterprise_viewer.plist file. Use the XML below to create a file named enterprise_viewer.plist or grab the file from the ZIP that you downloaded from the Requirements section at the beginning of this article.
  2. Open any text editor to create or edit the file. If you are creating the file, enterprise_viewer.plist, copy and past the following code into the file.
<?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>absolute-path-to-ipa</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>com.adobe.dps.enterpriseViewer</string> <key>bundle-version</key> <string>1.7.0.0.0</string> <key>kind</key> <string>software</string> <key>title</key> <string>Enterprise Viewer</string> </dict> </dict> </array> </dict> </plist>
  1. Modify url (line 14) to replace “absolute-path-to-ipa” with the absolute URL to where you will host your IPA file.
  2. Modify bundle-identifier (line 20) to replace “com.adobe.dps.enterpriseViewer” with the bundle identifier of your application. If you do not have the bundle identifier, open Viewer Builder and find the Bundle ID in the Build Details column for your viewer.
Figure 2: Example of Bundle ID and Bundle Version for a viewer application
Figure 2: Example of Bundle ID and Bundle Version for a viewer application
  1. Modify bundle-version (line 22) to replace “1.7.0.0.0” with the Bundle Version of your application. If you do not have the Bundle Version, open Viewer Builder and find it in the Build Details column for your viewer (example in Figure 2).

You are now ready to host your viewer application and its associated files for distribution.

Hosting the viewer application for distribution

In the following section, you will learn how to create the HTML page for users to download your application, upload files for that page, and test the files.

Creating the HTML page

  1. Create a new HTML page or use the index.html file that accompanies this article in the downloadable ZIP file available in the Requirements section of this article.
  2. Open the HTML page in any text editor.
  3. If you are creating your own HTML page, add the following code:
    <a href="itms-services://?action=download-manifest&url=<absolute-url-to-plist>">Download and install</a>.
  4. Replace <absolute-url-to-plist> with the absolute path location where you are hosting the enterprise_viewer.plist file.

Uploading the files

  1. Upload enterprise_viewer.plist file to the URL you specified in your HTML page for the URL property.
  2. Upload your IPA file to the URL you specified in enterprise_viewer.plist.
  3. Upload your HTML file to your web server.

Testing the files

  1. In a browser from the iPad, navigate to your HTML page and tap the “Download and install” link to initiate the installation process.
  2. If you have problems, verify that you have specified the correct URL for your IPA file in the PLIST file, and that your HTML page refers to the correct URL for the enterprise_viewer.plist file.

Securing the hosted application

When using this method to distribute your applications, Apple requires that you authenticate users or host the files behind a firewall. Your authentication can be as simple as using basic authorization or a directory-based authentication. The following links detail how to set up basic authentication for common web servers:

  • Apache

  • Microsoft IIS

Where to go from here

This tutorial provided step–by-step instructions on how to create an enterprise-provisioned viewer application and an HTML page for enterprise distribution. For more information and tutorials about Digital Publishing Suite.

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License+Adobe Commercial Rights

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

More Like This

  • Add note-taking functionality to a folio
  • Targeting the Kindle Fire using Adobe Digital Publishing Suite
  • Enabling promotional entitlement with Digital Publishing Suite
  • Using XML to automate production of digital publications
  • Custom storefront hands-on tutorial
  • Integrate publishing workflows and editorial systems with DPS
  • Enhance your DPS folios with HTML animations using Adobe Edge
  • Self-signed Adobe content viewer: How-to
  • Using restricted distribution with Digital Publishing Suite
  • Build a horizontal swipe storefront with folio preview

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement