I've been pulling my hair out over the past few hours, attempting to get a simple "Hello World" app running on my iOS device in adhoc mode:
Assuming I had screwed something up, I decided to follow the steps on Apple's "How do I delete/revoke my certificates and start over fresh." I also followed the steps in "Keep Your Profile Library Clean."
Following these two steps, I confirmed I had no certificates/keys/anything in Keychain access matching iPhone. In organizer, nothing is listed under Library -> Provisioning Profiles, nor is anything listed under Devices -> -My Device- -> Provisioning Profiles.
I also visited the iOS Provisioning Portal & removed the certificates distribution profiles. Afterwards, there is nothing listed under "Development", not anything under "Distribution."
I selected Library -> Provisioning Profiles & from the menu Editor -> Refresh from Developer Portal I'm prompted for my login. I do & the process begins.
Things here seem to diverge from the guide:
- I now have a 'iOS Team Provisioning Profile: myID' in Organizer -> Library -> Provisioning Profiles, however the status of the newly generated profile is "Valid signing identity not found".
The first time refresh is pressed, a prompt appears requesting your team member credentials. It is important to answer positively when asked to create your signing certificates if they are needed. To do that, click "Submit Request" when you are prompted and Xcode will create, download and install the certificate(s).
I am prompted for my credentials, but I never see the "Submit Request" prompt.
When I attempt to build a completely new Hello World app (i.e., single view, a label with static text), it runs in the simulator but refuses to on the app due to "Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains"