2. About Me
Anupriya Rathore (Sr. Software Quality Analyst Engineer)
Currently working with Usot Technologies Pvt. Ltd for CISCO, Cafex, Avaya
Skills: Linux, Unix, Appium, Selenium, Jenkins, Docker, Cucumber etc.
Connect Me:
Linked In : https://in.linkedin.com/in/anupriya-rathore-3126a953
Gmail: anupriya.bkr@gmail.com
Skype: kiwitech_anu
3. Agenda
1. What is Developer Provisioning?
2. What is Distribution Provisioning?
3. Why we need Provisioning Profile?
4. How to create Provisioning Profile?
5. How to integrate Provisioning with our code?
6. Uses of code, when code signed with Developer Provisioning?
7. Uses of code, when code signed with Distribution Provisioning?
8. Questions and Answers
4. What is Provisioning Profile
A provisioning profile is a collection of digital entities that uniquely ties
developers and devices to an authorized iPhone Development Team and
enables a device to be used for testing.
5. Flow of Code Signing Activity
Xcode Code SigningProject Clean Build
Select Device Run Code Application Installed
6. What is Developer Provisioning Profile
When you build an app with a development provisioning profile, you can debug
it on device. The development provisioning profile is the only provisioning
profile that enables debugging on device. With this type of provisioning profile,
you can run your apps only on the devices included in the provisioning profile
and you cannot publish apps in the App Store.
7. What is Distribution Provisioning Profile
In the App Store you can publish only apps created with an App Store
distribution provisioning profile. App Store distribution provisioning profiles do
not contain provisioned devices. You cannot debug on device apps that are
created with this type of provisioning profile.
8. Need of Provisioning Profile
1. Want to run .ipa on particular device (In Development or Testing
Environment)
2. Want to debug .ipa
3. Want to Automate .ipa
4. Want to deploy on App Store then also need provisioning
9. How to create Provisioning Profile
Pre Requirements
1.1. Verify that you have a certificate for development created for your Apple developer account.
1.2. Verify that you have registered an App ID for your app.
1.3. Verify that you have registered at least one device with your Apple developer account.
1.4. Verify that you are logged in the iOS Dev Center.
10. Creation
1.1. In the iOS Dev Center, click Certificates, Identifiers & Profiles. In the iOS Apps panel, click Provisioning
Profiles.
1.2. Click +., Select iOS App Development and click Continue.Select an App ID to associate with the
provisioning profile and click Continue.
1.3. To be able to use one development provisioning profile across multiple apps, select a wildcard App ID, if
available.
1.4. Select one or more certificates for development to include in the provisioning profile and click Continue.
1.5. Only certificates for development are listed.Select one or more devices to include in the provisioning
profile and click Continue.
1.6. Enter a name for the profile and click Generate. (Optional) Click Download to download the provisioning
profile.
11. Add a Provisioning Profile in App Builder
Pre Requirement
1. Verify that your preferred AppBuilder client is running and you are logged in.
2. Verify that you have opened the code for your app in AppBuilder.
3. Verify that you have downloaded your provisioning profile from the iOS Dev Center or that you have imported an
existing provisioning profile from AppBuilder.
12. 1. Click the cogwheel icon and select Options.
2. Select iOS → Provisioning Profiles.
3. Click Import.
4. Browse to the location where the mobileprovision file for your provisioning profile is stored, select it and confirm
the import.
Your provisioning profile is added to the list. To view the details for your provisioning profile, select it from the list and
inspect the side bar.
If you have a pending certificate signing request for the certificate included in the provisioning profile, the certificate
signing request is completed automatically and the certificate is added to the list of cryptographic identities.
13. With AppBuilder, you can run your hybrid app on physical devices before publishing it. Running your
app on a physical device provides more accurate test results compared to running it in the simulator.
In the classic Windows desktop client, you can build and deploy on connected devices or over the air.
In the in-browser client, you can build and deploy over the air.
In the extension for Visual Studio, you can build and deploy on connected devices or over the air.
In the command-line interface, you can build and deploy on connected devices or over the air.
In the package for Sublime Text, you can build and deploy on connected devices.
14. Uses of Developer/Distribution Provisioning
When you want to run your application on multiple devices and you don’t know
the device id’s then you may build app with distribution provisioning and run
app on any device. But, if you want to run app on selected devices and in debug
mode then you may build app with developer provisioning.