Device with Number Already exists on this Team

I've created a new project in Xcode. I'm running the Xcode 16.4 and MacOS 15.5.

I'm trying to run my barebones project on my iPhone 16 (I'm just getting started). I turned on developer mode on my iPhone and went through the whole process. But in the Signing & Capabilities of my project under status I see two errors...

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

Provisioning profile "iOS Team Provisioning Profile: [MyBundleID]" doesn't include the currently selected device "My iPhone" (identifier XXXX8801C).

I noticed in the devices on the developer portal that my device is showing as "Processing." I feel ike it's stuck. But I can't figure out how to clear it all out and try again. It's been 24 hours since this error came up.

I've tried to clear trusted computers on the iPhone. I've deleted the "Derived Data" folder. I've removed my developer account from Xcode and added it again. I've restarted both my Mac and my iPhone multiple times.

I've noticed it asked to authorize my computer twice. When I clear the authorized computers and then plug the phone back in it asks twice again. So I'm not sure if this is the issue? No idea why it asks twice but I'm only ever able to respond to the second request as the first request gets blocked in the UI by the second requests if that makes sense?

I'm also not able to turn off developer mode on my iPhone. The switch isn't there as the docs state it should be. So again, I feel like this is the phone and the developer portal stuck causing the problem.

Note: I saw someone else had encountered this problem and I replied to it and boosted it. But it looks like it was posted in 2017? Hence this new post.

Accepted Answer

I was finally bale to resolve this by removing all the devices on the developer portal.

I had the option (alert at the top of the screen in the devices section of the portal) to update my list of devices on my developer account. Many of these devices were very old so I chose to go through and remove devices. Luckily my new iPhone that was stuck in processing was also there. So I was able to remove it as well.

Once I did this, I was able to get Xcode to register the device properly.

I'm wondering if my account as a whole was stuck in limbo because I hadn't gone through and cleaned up the device list? Long shot theory but thought I would put it out there.

Of course, if you have a new account, or this option isn't available, this solution won't work. Would look forward to hearing if there are any other solutions out there for future.

Device with Number Already exists on this Team
 
 
Q