I am trying to create an ad hoc distribution of my App to send to a colleague.
I am getting the following error when trying to Archive my project for distribution:
Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
These are the steps which I have followed:
- I have registered the device in the provisioning portal.
- I have generated a certificate signing request in keychain.
- Using this I have created a DISTRIBUTION certificate in the portal and dragged in keychain and I can see the key under the name.
- I have then created a DISTRIBUTION profile in the portal and downloaded it and dragged it into Xcode organiser. It appears to be valid in Organiser as there are no warnings.
- Now in the project properties I have choosen this profile in the code signing identity.
Now when I run i get this above error.