153

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

2
  • 2
    It is used when you are going to distribute your application on iTune.
    – Siddiqui
    Jul 29, 2010 at 13:02
  • 3
    @Siddiqui, not only for that. You can't even test you app on real device without provisioning profile, let alone distribution.
    – Green
    Nov 29, 2018 at 19:58

3 Answers 3

141

A Quote from : iPhone Developer Program (~8MB PDF)

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. A Development Provisioning Profile must be installed on each device on which you wish to run your application code. Each Development Provisioning Profile will contain a set of iPhone Development Certificates, Unique Device Identifiers and an App ID. Devices specified within the provisioning profile can be used for testing only by those individuals whose iPhone Development Certificates are included in the profile. A single device can contain multiple provisioning profiles.

7
  • 11
    So how come you need a matching provisional profile when you do a app store distribution? The app store distribution profile does not contain any devices, but it is necessary when signing for app store.
    – mskw
    Mar 14, 2013 at 19:42
  • 4
    @mskw: It will verify that your developer account created the app.
    – Akusete
    Mar 19, 2013 at 4:27
  • 3
    It also defines the allowed entitlements like push notification support, icloud and keychain masks, etc. Jul 22, 2013 at 14:12
  • 3
  • I came across this edit suggestion to fix the link. I cannot judge if the link is correct - but since the link is broken, it would be great if someone with the appropriate knowledge could fix it!
    – MBT
    Nov 15, 2018 at 12:12
14

You need it to install development iPhone applications on development devices.

Here's how to create one, and the reference for this answer:
http://www.wikihow.com/Create-a-Provisioning-Profile-for-iPhone

Another link: http://iphone.timefold.com/provisioning.html

5

Development Provisioning Profile

Apple cares about security and as you know it is not possible to install any application on a real iOS device. Apple has several legal ways to do it:

  • When you need to test/debug an app on a real device the Development Provisioning Profile allows you to do it
  • When you publish an app you send a Distribution Provisioning Profile[About] and Apple after review reassign it by they own key

Development Provisioning Profile is stored on device and contains:

  • Application ID - application which are going to run
  • List of Development certificates - who can debug the app
  • List of devices - which devices can run this app

Xcode by default take cares about it

1
  • I DON'T have any provisioning profile, but I CAN install my app on my iPhone via cable & TestFlight :/
    – Cedric
    Jan 22 at 3:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.