You might be receiving the below error message related to outdated provisioning profiles:
error: There are no accounts registered with Xcode. Add your developer account to Xcode (in target '<TARGET_NAME>' from project '<PROJECT_NAME>') error: No profiles for '<BUNDLE_ID>' were found: Xcode couldn't find any iOS App Development provisioning profiles matching '<BUNDLE_ID>'. (in target '<TARGET_NAME>' from project '<PROJECT_NAME>')
The above error message might happen if, for example:
You might have been building on Xcode 12 and uploaded the respective profiles and certificates to Bitrise and then switched to the Xcode 13 stack (
osx-xcode-edge) without updating your profiles on Bitrise.
In all cases the provisioning profiles were generated before Xcode 13, therefore they do not match with the Xcode 13 stack you use on Bitrise.
We suggest you refresh the provisioning profiles uploaded to Bitrise. The local version of your provisioning profiles might have been already updated automatically by Xcode so you need to make sure the same profiles are used by Bitrise too.