Archiving fails in Xcode 13.2.1 for iOS app

Hello,

When building an archive by going to Product->Archive I get two errors:

Failed to create provisioning profile. There are no devices registered in your account on the developer website. Select a device run destination to have Xcode register it.

No profiles for 'com.primemeridiant.MyDoTo' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.primemeridiant.MyDoTo'.

I have created an App Identifier and an AppStoreConnect App; but not sure what else I am missing.

I am using a separate developer account than my personal AppleID

This old post should give you the way to go:

  • Connect your device to your computer via USB.
  • Launch Xcode (assumes latest version 7.3.1) and from the Window menu, choose 'Devices'.
  • Use '+' below left and choose 'Add Device'.
  • From the 'Choose a Connected Device to Set Up' dialog, select your device, then 'Next', then if the green checkmark confirms, choose 'Done'.

https://developer.apple.com/forums/thread/46334

That worked!

Archiving fails in Xcode 13.2.1 for iOS app
 
 
Q