Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Obtaining Apple Watch Provisioning Files

Apple Watch bundles consist of three components - a host app running on your iOS device, a watch extension which takes care of the communication between the iOS device and the Apple Watch and a watch app running on the Apple Watch. You must configure an App ID and a provisioning profile for each component. The provisioning profiles must be of the same type and must share the same certificate.

This article provides guidelines for obtaining the provisioning files needed to re-sign an Apple Watch bundle in AppManager.

Step 1: Obtain a Certificate

To run an Apple Watch bundle on an iOS device, you need to code sign it. One of the files that you need for signing it is a P12 certificate file. The entire process of obtaining it is described in this article: Obtaining a P12 Certificate.

Step 2: Register an App ID

Each component of an Apple Watch bundle must have a unique, explicit App ID which complies with the following requirements.

  • The App ID for the host app must be a reverse-domain name string. For example, com.mycompany.myapp.
  • The App ID for the watch extension must be a reverse-domain name string consisting of the App ID of the host app and the watchkitextension suffix. For example, com.mycompany.myapp.watchkitextension.
  • The App ID for the watch app must be a reverse-domain name string consisting of the App ID of the host app and the watchkitapp suffix. For example, com.mycompany.myapp.watchkitapp.
  • All App IDs must belong to the same App Group. The App ID for the App Group must be a reverse-domain name string consisting of the App ID of the host app and the group prefix. For example, group.com.mycompany.myapp.
  • All App IDs must be explicit.

The entire process of registering an App ID for each component of the Apple Watch bundle is described here: Register an App ID.

Step 3: Register Devices

When using Development and Ad Hoc provisioning profiles, based on their target bundle component, the provisioning profiles must include the Apple Watch or the paired iPhone on which you want to test the bundle. To include a device in a provisioning profile, you need to register it in the iOS Dev Center.

The process of registering iPhone and Apple Watch devices in the iOS Dev Center is described here: Register Apple Watch and iPhone for Development and Distribution.

Step 4: Create Provisioning Profiles

There are four types of provisioning profilesā€”Development, App Store, Ad Hoc, In-house. All three provisioning profiles for the Apple Watch bundle must be of the same type. In AppManager, you can use Development, Ad Hoc and In-house profiles. App Store provisioning profiles are used only for apps uploaded in the Apple App Store. You can find instructions for creating the provisioning profile of your preference in the following articles:

See Also

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.