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?
3 Answers
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.
-
11So 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.– mskwMar 14, 2013 at 19:42
-
4
-
3It also defines the allowed entitlements like push notification support, icloud and keychain masks, etc. Jul 22, 2013 at 14:12
-
3developer.apple.com/library/mac/documentation/IDEs/Conceptual/… updated Link Nov 18, 2014 at 15:47
-
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!– MBTNov 15, 2018 at 12:12
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
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
-
I DON'T have any provisioning profile, but I CAN install my app on my iPhone via cable & TestFlight :/– CedricJan 22 at 3:40