Xcode A device with a number already exists in this command.

I recently updated my iOS development program with apple. since then I can’t start my new projects on my devices. If I go to the organizer inside xCode, I can see the devices and they have a green light next to the device. If I load any of my old projects, I can run the project on devices without any problems.

I try to remove the device and add the device again, but when I add it again, I get this error:

A device with the number "XXXXXXXXXXXXXXXXXXXXXXXXX" already exists in this command.

My question for guys is that in the world can I fix this problem and be able to launch new projects on my devices? any suggestions?

I will be very grateful for your help.

+4
source share
1 answer

I had the same problem today, and I decided that by deleting all the provisioning profiles from the device, disconnect the device, and then reconnect.

I downloaded TeamProvisionigProfile manually from the Apple developer site. After that I add "TeamProvisioningProfile" manually through the Organizer.

This works for me to install the application again. Hope this works for you too !?

+6
source

All Articles