Failed to create provisioning profile.

I am trying to create a project in Xcode, version 8.0 beta 6 (8S201h), and I am getting this error.

enter image description here

An Apple account is free because I just play with Xcode, but it forces me to install it as a team. Any help?

+125
xcode
Sep 20 '16 at 21:03
source share
14 answers

Check out the schematic menu at the top of the Xcode project window. Look at the destination you are trying to start. If you run in the simulator, you do not need to sign your project.

enter image description here

If you started the device, you need to connect the actual device. It shall not indicate "universal device".

+122
20 sept. '16 at 21:14
source share

In my case, this error disappeared when I changed the “Bundle Identifier” to something less general (for example, adding some random numbers at the end)

+62
Apr 28 '17 at 19:52
source share

Change the bundle identifier to something more unique.

If you follow the course and just put a common identifier, then adding a few digits at the end is likely to solve your problems.

i.e. if you have HelloWorld change it to HelloWorld12345

+13
09 Oct '17 at 12:48 on
source share

After the battle for an hour, I simply unchecked the "Automatically manage signing" box and returned to the old school uniform to indicate my profiles. Probably not the best that can be done, but it works.

+7
Oct 29 '16 at 0:14
source share

Check out these things.

1. The device is connected to your system or not.

2. The deployment task in xcode. (General-> Deployment Details-> Purpose of Deployment) It must match the ios version of your device.

3. Change your package ID. Follow the general rules for setting a unique package identifier for your project while working on the device. See what is the correct package identifier format in iOS?

Also be careful with the number of bundle identifiers defined in the project. Please remember all link identifiers or write them down somewhere. Since you use a free account, you have limited access to the number of package identifiers.

You must also disable push notifications in the Features section of the project. Try changing the "application groups" also in the format group.com.someString.

These things helped me to run the application on a real device without any errors.

+5
Jun 09 '17 at 5:01
source share

preparing debugger support

Profiling your phone takes a few minutes. .., follow the status bar at the top to make sure your phone is profiled from above.

Next, make sure you select YOUR PHONE as the target, and not the iPhone 7 or iPhone 8 ... your exact phone. You can do this by choosing: Product> Destination> (select your phone)

Your phone will only be displayed after it has been connected, turned on, and left turned on for several minutes while Xcode creates the profile. destination

+4
Oct 18 '17 at 23:38 on
source share

I have had this error several times and for me it solves the following:

  • In the list with a view of all the certificates, right-click on each line and move each certificate to the basket (go to Xcode> Settings> Select Account> Click View Details)
  • Go to the member center to download the correct certificates again and click on them to
  • Restart xcode
  • Go to the build settings and set the correct code signature for debug / release - you can see the option in the line that says "Identities from profile ..."

If this does not work, you should consider revoking your certificate, then create a new one and repeat the steps above.

+3
Sep 20 '16 at 21:08
source share

I had the same issue with the training profile. If you have any iPhone, you can connect to your Mac using a cable, and the profile profile is automatically detected. enter image description here

+3
Jul 26 '17 at 10:56 on
source share

After some time, with the same alarming error, and after I write a unique Bundle identifier, and this did not help, I searched the Internet and found here that my mistake was that I chose a virtual device and not a real device. The solution was:

1. I connected my iPhone

2. I clicked on the button - set the active circuit. and there it was upstairs - an iPhone device. the error is gone.

enter image description here

+2
Apr 27 '18 at 11:44
source share

The reason for this error is the unavailability of the application identifier with the specified package identifier

Solution: Changing the package identifier is easy :)

+2
Jul 20 '18 at 12:49
source share

This error is caused by the fact that you chose the goal, not the project name, so please find the name of your project to the left of the general in Xcode. Click on it and change from the goal to the project section.

+1
Jul 25 '18 at 10:50
source share

Change Deployment Target to a newer version and then decide

+1
Aug 20 '18 at 10:14
source share

Adding this because it took me 4 hours to find out ..

Xcode cannot create a provisioning profile for a device without a name, that is, "" or "". When I changed the name of my device to something else, the above steps worked.

0
Aug 17 '18 at 15:21
source share

Change Package ID, Direct Solution

0
Jul 11 '19 at 5:02
source share



All Articles