Device "..." isnt' registered in your developer account

Hi,

I'm using Xcode 15.4. (always export as "Ad Hoc" with automatic signing) and just ran into a weird problem when I tried to run my app with the "play" button on a new iOS 18 iPhone: The build fails every time with the following error message in the "Signing & Capabilities" tab:

Device "..." isnt' registered in your developer account.

I added the iPhone's UDID to my developer account yesterday but I'm still getting the same error today. There's a "Register Device" button below the error message and when I click it, there are two new errors:

There is a problem with the request entity: A device with number '...' already exists on this team.

Provisioning profile "iOS Team Provisioning Profile: ...." doesn't include the currently selected device "...." (Identifier ...)

The "try again" button below the first part doesn't do anything.

How do I fix this?

Three days later, I didn't change anything but now it's working. Does it really take 3 days until new UDIDs are added? Is there any way to speed it up?

Device "..." isnt' registered in your developer account
 
 
Q