Xcode 8 asks for a device to be registered to create provisioning profile

Solution 1:

I fixed it by plugging in my iPhone and going to menu Product > Destination > iPhone (my device).

Then after clicking Try Again on this properties page the warnings went away.

Source

Solution 2:

The solution (though I would welcome more elaborate, insightful explanations):

  • @General -> Signing, disable the option "Automatically manage signing"
  • @General -> Signing and certificates choose your team

Though in my case that was not the issue, I would recommend making sure that in the device list, you choose Generic iOS device in your target devices.

Solution 3:

This really sucked to figure out.

What you do is add a distribution profile in https://developer.apple.com/account/resources/profiles/add. Don't choose development! Don't let the Xcode Automatically manage signing!!

Then, you download the provision.

Then, in the Signing & Capabilities -> Signing Section of the project.xcodeproj file, turn off Automatcially manage signing, choose import and import the file you just downloaded.

Then, in the top, you choose Any iOS Device (arm64, armv7) and then you go Product -> Archive.

image of it

Solution 4:

What happened to me was that I was about to run my app on a physical device for the first time and I didn't have a Team. So I created it in the process before connecting my phone with the USB cable. After I created the team a message like the listed above appeared. I did some research on internet but nothing found.

So here's what I did: I connected my phone, did all the trusted process, then restarted Xcode, and it worked. I am not sure what happened, but it was some of my first experiences using Xcode. It could sounds silly but it helped me. Hope to you too.

Solution 5:

If you do not wish to register a device follow this advice:

https://stackoverflow.com/a/44157307/499581

* In short use "Generic" as the device while archiving.

If you do wish to register a device then the solution to:

"There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it".

Is to physically plug-in your device (an actual iPhone, or iPad) so that Xcode can register it for development use (note: this will not affect the normal everyday use of the device). After the device is registered it can then be used for development testing, load provisioning profiles onto it, etc.

↳ Disabling and Enabling Devices Using Your Developer Account