A while ago, Apple has determined no longer to allow wildcard Application ID’s for new Apple Developer Accounts. This means that you need to create an Apple ID for every application you wanted to wrap for use with Citrix XenMobile. In the meanwhile, Citrix updated there MDX Toolkit so that you can change the App ID during wrapping. In this step-by-step blog I will explain how to create the provisioning profiles that are needed for iOS Application Wrapping in three easy steps.
Step 1 : Create an Apple Certificate
The first step is the create an Apple Certificate, follow these steps to create one.
Browse to http://developer.apple.com/membercenter/ and login with your Apple Developers Account. Click on Certificates, Identifiers & Profiles
On the left side under iOS Apps, click on Certificates
Click on the + (plus sign) at the right-hand corner
Select In-House and Ad Hoc. Scroll down and click Continue
Open the Keychain Access program (we come back here later)
Select the following menu item: Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority
Fill in the User Email Address and the Common Name. Select Saved to disk and click Continue
Select a folder you want to save the request file to and click Done
Click Continue
Click Choose File, browse to the saved request file and click Generate
Download the certificate and click Done
The certificate is now created
Go back to the Keychain Access program and select the following menu item: File > Import Items
Select the saved Certificate to import. After import, make sure the Private Key is linked to the certificate
Step 2 : Creating Identifiers (App IDs)
In this part of the blog I will show you how to create unique App IDs for every App. This is with one exception, and that is WorxMail. Citrix WorxMail need some additional steps that will be covered in this Citrix Blog : https://www.citrix.com/blogs/2015/06/11/mobility-experts-a-step-by-step-guide-to-configuring-worxmail-apns/
Open the App IDs page under Identifiers and click on the + (plus sign) at the right-hand corner
Enter an application name, for this example I use WorxWeb
Scroll down and select Explicit App ID. Fill in a unique Bundle ID, best practice is to use your external domain name backwards + app name, for example com.robinhobo.worxweb
Scroll down, leave everything default and click on Continue
Click Submit
Click Done
Repeat these steps for every application you want to wrap.
Step 3 : Creating Distribution Provisioning Profiles
The last step is to create Provisioning Profiles. These profiles are needed when wrapping an application with the Citrix MDX Toolkit and needs to be downloaded to the Apple Macintosh device.
On the left side under Provisioning Profiles, click on Distribution. Click on the + (plus sign) at the right-hand corner.
Select In House and click Continue
Select an App ID created in step 2 (in this example I select the WorxWeb App ID). Click Continue
Select the iOS Distribution certificate created in step 1 and click Continue
Fill in a Profile Name and click Generate
Download the certificate and click Done or Add Another. Repeat these steps for every unique App ID. After this, you are ready to start wrapping the applications.
Currently we are using wild card id for all our apps. If we change to unique id, does my users have to re-download/install the app again?
Yes, the app will get another App ID. On all devices you need to remove and reinstall the apps.
If we have a wild card id can we continue to use it and just renew our provisioning profile when they near expiration? Also can we renew our provisioning profile with a more recent certificate and still have apps with the old profile continue to work?
Yes you can, as long as the old certificate is not expired.