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 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. Any advice would be greatly appreciated. Thank you.