Getting No Devices Registered Error | Provisioning Profiles

Hi All,

Merry Christmas and Happy Holidays!


I am new to Apple developement, and looking for some help on the issue have come across, highly appreciate it.


To give background:

1. Have a MacPro on which have been developing and finally developed an app.

2. Do not have a iphone or any ios device as of today, have been testing the developed app on simulators.

3. Registered as a Apple Developer and Received AppleId.

3. Given the above 3 points, now trying to Archive the developed app and see below error:


"Creating a provisioning profile requires one or more devices to be registered with your team. Connect a device to your Mac to add it to your

team. "

4. As per App Distribution Guide:

a. Created Development and Distribution Certificate

b. Created App Id

c. Under IOS Provisioning profile, created one and downloaded.

5. Now after above point, clicked on "Fix Issue" on In General --> Identity as below:

Identity:

Bundle Identifier

Version

Build

Team

Fix Issue


Get this error:

"Creating a provisioning profile requires one or more devices to be registered with your team. Connect a device to your Mac to add it to your

team. "



Thanks in advance for your time and patience to help me out.



Thanks.

Answered by KMT in 97805022

Ah testapp, got it.


Debug : IOS Developer

Release: IOS Developer


As I noted above, that's the issue ...that app is configured only for testing (iOS Developer). 'Distribution' is for the store.


Set them both to 'Distribution', then use Xcode's Product menu with the option key pressed and select 'Clean Build Folder'. Confirm no errors in the navigator and go again.

>Registered as a Apple Developer and Received AppleId.


Does that mean you have a paid dev account that you've given time to become valid? Did you generate, download and install developer/distribution certificates?


Also note that creating/getting an appleID is separate and not dependant on being a dev...you create one, then use that to register.


Which version Xcode are you using?


That said, remember... you can't archive if:

  • a simulator is selected instead of a device
  • there is an error when building
  • you haven't staged your app as 'Waiting for Upload' in iTunes Connect
  • you've recently renewed your apple developer account, and not yet updated the provisions to reflect that activity

thanks again, Yes using Xcode 7.2 :


Followed all the steps mentioned from the below link and now it confirms all the below instructions:

https://developer.apple.com/library/ios/qa/qa1814/_index.html


After that still facing the same or similar issue as below:


Failed to code sign “TestApp”.

No provisioning profiles matching an applicable signing identity were found.

Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.


Cancel button and Fix Button


After clicking Fix button, gets below message


No Devices Registered

Creating a provisioning profile requires one or more devices to be registered with your team. Connect a device to your Mac to add it to your team.


Note: Two points :

1. One more observation, seeing provisioning profiles status as invalid in the member center not sure whats causing this issue.

2. I do not have Iphone or Ipad or any other IOS systems connected, other than my MacPro where am doing the development.


Thanks.

Accepted Answer

Ah testapp, got it.


Debug : IOS Developer

Release: IOS Developer


As I noted above, that's the issue ...that app is configured only for testing (iOS Developer). 'Distribution' is for the store.


Set them both to 'Distribution', then use Xcode's Product menu with the option key pressed and select 'Clean Build Folder'. Confirm no errors in the navigator and go again.

Thanks That helped me tooo

How do you set Set them both to 'Distribution' ?

Getting No Devices Registered Error | Provisioning Profiles
 
 
Q