Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Organizer: "Your team has no devices for which to generate a provisioning profile."

I am experiencing a strange error in Xcode's Organizer. I have two team members and whenever we log in we receive the following message:

Your team has no devices for which to generate a provisioning profile. Please connect a device to use for development, or manually add a Device ID using the Provisioning Portal. https://developer.apple.com/devcenter/ios

If I go there I can clearly see two devices, and two certificates for the two developers. In fact, I can even build and install on my device fine with the team provisioning profile, but for some reason I still see this error every time Organizer chooses to refresh. Can someone explain this?

like image 668
Francisco Ryan Tolmasky I Avatar asked Jan 08 '12 00:01

Francisco Ryan Tolmasky I


3 Answers

Here's a great answer to this issue at the bottom of this forum thread: https://devforums.apple.com/message/637101#637101

The short answer is, you get the above error if you haven't added your Mac to the Portal.

"After going to the 'My Mac' device in the sidebar, and clicking 'Add to Portal', I no longer get this error."

This solution worked for me as well, since I bought a new Retina MacBook Pro.

like image 98
Chris Livdahl Avatar answered Nov 16 '22 02:11

Chris Livdahl


Restarting XCode fixed precisely this problem for me. On restart, XCode downloaded the 4.1 firmware correctly and installed it.

like image 27
deepwinter Avatar answered Nov 16 '22 02:11

deepwinter


I was using an iPhone 3GS to try to test an application on my Mac Pro. I kept getting the problem even after restarting Xcode 4.3.2 and removing provisioning profiles. I tried under Xcode 4.4 with Mountain Lion on a MacBook Air and Xcode complained that "Xcode cannot run using the selected device. Choose a destination with a supported architecture in order to run on this device." I added armv6 to the projects "Architectures" and was able to start debugging on my device. The iPhone 3GS was running iOS 4.2.1. I'm not sure if this is unrelated to the problem but this is what I did on my Mac Pro after I saw that things were okay on my MacBook Air.

like image 25
Gerard Avatar answered Nov 16 '22 02:11

Gerard