1

I recently was forced to reinstall XCode5 to correct a problem in with Interface Builder. The reinstall corrected the issue but erased my provisioning profiles and now I am unable to test apps on a physical device.

From others' suggestions, I went to Preferences > Accounts > View Details... and clicked the Refresh button at the bottom left of the resulting window.

When I plug in a physical device, XCode does not list it in the available devices. In Organizer, each device that I use (an iPad and iPhone) shows a valid profile when connected. Each valid profile shows the correction expiration date.

What steps am I missing to get these devices recognized by XCode?

Thanks!

Pheepster
  • 6,045
  • 6
  • 41
  • 75
  • Are your developer/distribution certificates installed correctly? – S1LENT WARRIOR Oct 06 '14 at 17:24
  • I'm assuming they are, since they were intact before the XCode reinstall. They are listed in Organizer and marked as valid. What else would I look for to determine their validity? – Pheepster Oct 06 '14 at 17:30
  • Did you set the provisioning profile of the app from `Your Project -> Build Settings -> Provisioning Profile` ? – S1LENT WARRIOR Oct 06 '14 at 17:32
  • The only thing I see in Build Settings that is related is Code Signing Identity. For Debug, I have tried setting it to my developer account, but it has no effect – Pheepster Oct 06 '14 at 17:41
  • I was wondering if I should remove the profiles from the device. I hesitate to do this out of fear of creating a much bigger nightmare than I already have – Pheepster Oct 06 '14 at 17:43
  • No need to remove the profiles from devices! See my answer below! – S1LENT WARRIOR Oct 06 '14 at 18:10

1 Answers1

1

Try setting the provisioning profile of your app.

As shown in the image below, it needs to be set from 2 places (1 and 2)

Setting the provisioning profile

Hope this helps!

S1LENT WARRIOR
  • 11,704
  • 4
  • 46
  • 60