Search code examples
iosxcodeprovisioning-profilexcode12apple-developer

Xcode couldn't find any iOS App Development provisioning profiles matching [app name]


I am seeking help in resolving the Xcode 12 error message

Xcode couldn't find any iOS App Development provisioning profiles

I registered for a paid Apple Developer account and I am following the steps to prepare my app for distribution. One of the steps involves going to Xcode and selecting "Any iOS Device (arm64)" as the simulator and then clicking Product > Archive. When I click Archive, however, my build consistently fails. I receive the below two error messages:

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.

And

No profiles for '[bundle id]' were found. Xcode couldn't find any iOS App Development provisioning profiles matching '[bundle id]'.

Screenshot of error messages in Xcode

Can anyone advise how to fix this problem? This is my first time trying to submit something on the app store.

I am not using Flutter.


Solution

  • FYI I ended up fixing this by plugging my iPhone into my computer and running the app in Xcode. Xcode gave me a pop-up warning that my device was not registered. I clicked the "Register" button and all the errors were resolved.