Provisioning an iPhone5 (already exists)

I've been in this loop for ages. The Provisioner has been saying the Xcode team are updating the records but still can't provision my iPhone so I can test iOS/Xcode developments on it.

Organizer-Devices sees the phone but says "Xcode cannot find the software image to install this version".

If I use + "Add to Portal" I get "A device with numbers **** already exists on this team".

I have a valid certificate downloaded.

What's the solution?
LVL 1
edhastedAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pgnatyukCommented:
What is the iOS version installed on this phone?
What is Xcode version you use?
Xcode just says you that it cannot work with the phone or the iOS version installed on it. In the question you said that it's all about iPhone 5. So the iOS version is 6.0?
Do you see this error when you try to debug your project on the iPhone, right?
If yes, check that you sign the project correctly - it the project settings (Build Settings tab) you should see something like "iPhone Developer: YourName (NUMBER)".
How to Test Your Apps on Physical iOS Devices
Developing Apps Using the Team Provisioning Profile
0
edhastedAuthor Commented:
iOS = 6.1.4 (10B350)
Xcode = 4.6.3 (4H1503)

If I try and compile a test prof and run it on the iPhone I get the following message:

Check dependencies

Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains
0
edhastedAuthor Commented:
In the Code Signing area of Build Settings all are set to "iPhone Developer".

Many thanks for your help, EH
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

pgnatyukCommented:
You say that you added you phone to the portal in Xcode, so the organizer is connected to the portal and you see all your provisioning profiles in the organizer, right?
You know that you can use button Refresh in the organizer to synchronize the provisioning profiles with the portal. Also the team provisioning profile will be generated and re-generated if needed. If you see that this refresh process goes well, without an error, set a valid team development provisioning profile for all signing items in the build settings: debug, release, whatever you have there. I mean not just "iPhone Developer", but "iPhone Develop:Developer Name (Team Id)".
If the refresh process does not work, regenerate and download your provisioning profiles from the portal and update your computer.
0
edhastedAuthor Commented:
This is one of the problems - I have never seen the refresh button for months. Several help sites I had been following to try and resolve this refer to it. There is a button saying "Restore iPhone" but that is greyed out.

Should I delete it from the Provisioning Portal and try again. If so is the procedure that os starting from scratch or are there any catches?
0
pgnatyukCommented:
In the organizer, when the Devices tab is highlighted, in the left bar, select "Provisioning Profiles". You'll see all active profiles in the right part of the screen. In the right-bottom corner you'll see the refresh button.

Provisioning Profile tab in the organizer
Refresh button
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
edhastedAuthor Commented:
Sorted and working - very many thanks.

I also installed iOS7 and Xcode 5 and the Xcode seems to have more intelligence than before. After the Refresh the new Xcode ran a "Revoke and Request" and hey presto it worked.

What confuses me about the process, and I know that I am not alone, is that it is so Byzantine (multi-layered) and required different components in different places to be brought together it is hard to create a model of what is going on that is memorable

Thanks, EH
0
edhastedAuthor Commented:
Please read the entire thread to appreciate the Steps. Pressing the Refresh button was simply the last one.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Swift Programming

From novice to tech pro — start learning today.