Failed to create provisioning profile

168

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

enter image description here

The apple account is a free one because I'm just playing around with Xcode but it is forcing me to set it as a Team. Any help?

This question is tagged with xcode

~ Asked on 2016-09-20 21:03:10

The Best Answer is


171

Check the schemes menu at the top of the Xcode project window. Look at the destination you're trying to run in. If you run in the simulator, you don't need to sign your project.

enter image description here

If you run in a device, you need to attach the actual device. It must not say "generic device".

~ Answered on 2016-09-20 21:14:21


74

In my case this error disappeared when I changed the "Bundle Identifier" to something less generic (e.g. adding some random numbers at the end)

~ Answered on 2017-04-28 19:52:03


Most Viewed Questions: