If the provisioning profile (.mobileprovision) and certificate (.cer) are not configured correctly you might get the following error when clicking Build > Build in XCode:
Code Sign error: The identity ‘iPhone Developer’ doesn’t match any valid certificate/private key pair in the default keychain
Using the wizard:
Click on this blog post to create and configure the provisioning profile and certificate with the wizard
Manual configuration:
There are 2 types of provisioning profiles/certificates. Click the appropriate tab in the iPhone Developer Program Portal
- Development – used during development to download the app to a physical iPhone (not needed when running with simulator)
- Distribution – used to distribute on iPhone App Store
If you don’t want to use the entire wizard, you can create and configure each individually this way:
- Drag and drop the certificate (.cer) into the Keychain Access program (Spotlight > “Keychain Access”)
- File can be generated at iPhone Developer Program Portal Certificates
- The request for the certificate must first be generated locally so it can be uploaded to the portal:
KeyChain Access > Certificate Assistant > Request a Certificate from a Certificate Authority
- The request for the certificate must first be generated locally so it can be uploaded to the portal:
- Use the Development certificate instead of the Distribution Certificate
- File can be generated at iPhone Developer Program Portal Certificates
- Drag and drop the provisioning profile (.mobileprovision) into the XCode > Windows > Organizer (or double click it)
- File can be generated at iPhone Developer Program Portal > Provisioning
I got the 16GB 3g, what did everyone else get ?
http://bit.ly/bQCKVi — Touch World – Apple iPod touch