Xcode11 Import Developemnt and Distribution Provisioning Profile


Welcome to this article, we'll learn how to generate the development & distribution provision profile in iOS development program.

Some questions that come to the mind of every iOS developer-

What is the purpose of a provisioning profile?  
Why is it needed when developing an iPhone application? 
If I don't have a provisioning profile, what happens?

Purpose of a provisioning profile

Provisioning profile is that the most confusing a part of this process. It combines the identifier and certificate to the devices.

We can create provisioning profile 2 types, Development and Distribution. Development profile has device limitations where as Distribution is usually wont to deploy it on App Store or to distribute the app internally within the organization.

Why is it needed when developing an iPhone application? 

Provisioning profile act as a link between the device and the developer account.
If you would like distribute your app to the App Store, you would like to make a Provisioning Profile so as to urge it approved by Apple. However, when you’re within the development stages of building your app, it’s an honest idea to first test it before sending it to Apple. Provisioning profiles enable developers to try to to this by allowing them to run and test an app on a physical device.

If I don't have a provisioning profile, what happens?

Without a provisioning profile you cannot upload an IPA file to the AppStore. Each app has its own profile profile, while all iOS applications that register bundle IDs in that developer account use only one Apple certificate file(.p12 file).

Let’s go through the process of generating the provision profile. 
Log in to your Apple Developer account and navigate to Certificates, IDs & Profiles > Identifiers > Provisioning Profiles. 

Click on the 'Profiles' section. Then click on the '+' Add a new provisioning profile.

Register a new provisioning profile development or distribution to select the type of provision that you want to create as shown below.

There are four sorts of provisioning profiles you'll create for iOS devices.

Development– this sort of provisioning profile must be used with a development certificate installed on each device on which you would like to run your application. it's utilized in the event cycle and allows developers to debug the appliance . It can only be installed on a group of pre-registered development devices and isn't meant for any distribution scenario.

App Store– this sort of provisioning profile is matched to a selected distribution certificate. it's wont to sign before submitting the appliance to the official iOS app store. After signing, the app won't install on any device and may only be wont to upload to the app store.

Ad Hoc– this sort of provisioning profile is matched to a selected distribution certificate. it's used for distributing apps to a limited amount of pre-registered devices. you'll use this provisioning profile to distribute apps during a small organization where all devices are registered on the Apple site and are assigned to the present provisioning profile, or for testing as a part of the event cycle.

In-House– this sort of provisioning profile is merely available for members of the Apple Developer Enterprise Program. you'll use it to sign iOS apps for In House Distribution. Apps are often installed on any iOS device. In-House provisioning profiles are matched to specific distribution certificates.

If you Activate App Store than click to continue.

From the pop-up menu, choose an App ID to associate with your app and then click "Continue".

Review Provision name-

Click on the radio button next to your Distribution Certificate select and click on on "Continue."

Creating the iOS Development & Distribution Certificate (Jump link to the explanation how to create the certificate.)

Click on the "Download" button to download your App Store Distribution profile and double click to install the provision in Xcode.

I hope this article was helpful to you. So, please share it together with your friends and colleagues using the social buttons below!

Post a Comment