iPhone device provisioning
Provisioning You App/Phone
Once you have downloaded your provisioning certificate from the iPhone dev center it’s a pretty simple process to apply it to your iPhone. Simply plug your device into your mac and go to the organiser window in XCode. This should reveal an interface similar to the iTunes iPod/iPhone interface. From here you can simply add and remove certificates.
In my case I changed certificate (spelling mistake! D’oh!) this made life a little difficult for some reason the .xcodeproj file wasn’t completely changed and the old certificate name hadn’t been fully removed. This was a simple enough error to fix. Simply open your .xcodeproj file in a text editor then head over to ~/Library/MobileDevice/Provisioning Profiles/ this should give you a list of all provisioning profiles. Simply find the one you want (open it in a text editor and search for the app name) and copy it’s filename into the xcodeproj file.
Job Done!
