I am new to iOS and I am developing my first app for the App store.
I now have to generate my .ipa file using archive options from organizer. I am selecting iOS devices at run tab and used the archive option but it is showing the following error:
"The identity 'iPhone Distribution' doesn't match any valid, non-expired certificate/private key pair in your key chains"
I am not attaching my device to Xcode. I want to create .ipa file for sending it to one of my friends for testing using his iPhone.