Xcode 26: Cannot generate provisioning profile for Mac Catalyst app in macOS 26 VM

Filed FB17873536 for this, posting here for reach.

I cannot create a provisioning profile to run my Mac Catalyst app on a macOS 26 VM for my project with automatically manage signing (Xcode Managed Profile) enabled. I keep getting an error that “There is a problem with the request entity A device with number '<device ID>' already exists on this team.” Disabling the device in Certificates, Identifiers, & Profiles does not work; I get the prompt to register the device on the next build but it results in the same error. “Download Manual Profiles” does not work, either.

Additionally, in developer beta 2 (macOS build 25A5295e, Xcode build 17A5241o), I now get a second error message that Provisioning profile "Mac Catalyst Team Provisioning Profile: <bundle id> doesn't include the currently selected device "Virtual Machine" (identifier <device ID>).

Clearing out the existing files in ~/Library/Developer/Xcode/UserData/Provisioning Profiles/ didn’t work either.

Steps to reproduce:

  1. Create and set up a macOS 26 VM in the latest version of UTM for Mac
  2. Install Xcode 26 in the VM and sign into your Apple ID in Xcode preferences
  3. Open a Mac Catalyst app’s Xcode project and attempt to build it
  4. An alert comes up that the device is not registered in the developer account. Click the Register button to register it
  5. The process fails with the error mentioned above and it’s impossible to build for Mac Catalyst after this point. (Sign to Run Locally is not an option for me because I use entitlements that remove that option)

I would appreciate any advice on how to get this working. Hopefully I will not have to create an entirely new macOS 26 VM. Thank you!

Answered by RickMaddy in 847571022

You will want review the following thread:

Building macOS apps with Xcode 26 on macOS 26 VM

Accepted Answer

You will want review the following thread:

Building macOS apps with Xcode 26 on macOS 26 VM

Xcode 26: Cannot generate provisioning profile for Mac Catalyst app in macOS 26 VM
 
 
Q