How To Fix Xcode Error Failed To Create Provisioning Profile. There Are No Devices Registered In Your Account On The Developer Website.

When I develop iOS app use Xcode and build my iOS app, I suddenly meet an error which said failed to create provisioning profile. there are no devices registered in your account on the developer website. Plug in and select a device to have XCode register it. This error confused me a lot of times. After some time of investigation, I finally find the solution to fix it.

1. Where To Find The Failed To Create Provisioning Profile Error Message.

  1. You can find this error message by click the Xcode project ( TestProject ) on the Xcode editor left project list panel.
  2. Then click one of the TARGETS ( TestProject ) on the XCode center editor.
  3. Then click the General tab on the top area of the selected target detail pane. 
  4. Then you can see the error message in the Signing area —> Status section.
    xcode-failed-to-create-provisioning-profile-error

2. Why Failed To Create Provisioning Profile.

  1. The reason for this error is because I just upgrade my Xcode to version 10.3. And after the upgrade, all the iOS simulators which I used before have been lost. So when I build my iOS app in Xcode, it uses the real iOS device, but I do not have such real iOS device connected to my Mac computer.
  2. You can see this when you click the Set the active scheme drop-down menu item list after the Run button at the project top toolbar, you will find there is no iOS simulator, just Generic iOS Device is checked.
    xcode-build-only-generic-ios-devices

3. How To Fix Xcode Failed To Create Provisioning Profile Error.

  1. To fix this error is very easy, just connect your real iOS device such as iPhone to the Mac computer with a USB line, follow the popup screen on the iPhone, then you can select your iOS device in the Set the active scheme drop down list.
    select-the-real-ios-device-connected-to-mac-computer
  2. Now go to your Xcode project ( TestProject ) —> target ( TestProject ) —> General tab —> Signing area, you will find the error message disappear.
0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Jackalexandre78
Jackalexandre78

Excellent for beginners on XCode also.

Many thanks.

Lucas Sutelo
Lucas Sutelo

Eu não tenho um iphone. Estava usando apenas o simulador para desenvolver e testar. Como posso remover este erro?

2
0
Would love your thoughts, please comment.x
()
x