Distributing Multiple Apps Readme PDF
Distributing Multiple Apps Readme PDF
Distributing Multiple Apps Readme PDF
If you wish to build and distribute multiple applications, it is necessary that you create a wildcard App
ID in the Program Portal with only an asterisk in the Bundle Identifier field. This wildcard App ID must
be included in a single Distribution Provisioning Profile that will be used to build all of your
applications.
1. Delete any existing Distribution Provisioning Profiles from your Mac in ~/Library/MobileDevice/
Provisions and ~/Library/MobileDevice/Provisioning Profiles and close Xcode.
2. Create a wildcard App ID in the iPhone Developer Program Portal - Simply place an asterisk in the
Bundle Identifier field of the App ID to create a wildcard App ID.
3. Create an iPhone Distribution Provisioning Profile in the Program Portal incorporating the wildcard
App ID created above.
4. Drag your new iPhone Distribution Provisioning Profile onto the Xcode or iTunes 7.7 icon in your dock
to install it.
5. Confirm that both the Private Key the corresponds to your iPhone Distribution Certificate AND the
public iPhone Distribution Certificate are located in the Keys category of the Keychain application. The
Private Key is housed on the system that originally created the certificate request for the iPhone
Distribution Certificate.
For each project, do the following once
1. In the Project Info window, duplicate the Release configuration and title it Distribution.
2. Set the Active SDK to Device and the Active Configuration to Distribution
3. At the Project level, delete the code signing identity in the build pane and set the provisioning profile
the the "default" setting. Ensure the Configuration in this window is set to Distribution.
4. In the Build Settings Inspector at the Target level, enter the code signing identity: iPhone Distribution:
COMPANYNAME. This will be the exact same string as found in the common name of your iPhone
Distribution Certificate. In the diagrams below, Apple Inc. is the example COMPANYNAME. Make sure
the Configuration is set to Distribution in the Build Settings Inspector as well.
5. Select your iPhone Distribution Profile (which includes the wildcard App ID) from the Code Signing
Provisioning Profile drop down menu.
After setting all the projects up correctly with the Code Signing Identity and Provisioning Profile set
only at the target level, do the following each time you build to ensure a successful build process.
10.Search for the term CodeSign - this will take you to the line in the build log that confirms your
application was signed by your iPhone Distribution Certificate.
11.For Ad Hoc and Enterprise distributors, share your App bundles and iPhone Distribution Provisioning
Profile with the owners of the devices specified in the provisioning profile.
12.Recipients of the .app and .mobileprovision file can drag them onto iTunes 7.7 and sync their device
to install.