I've looked to solve this problem for several hours now, so hopefully someone can help me.
When I try to Archive my project (so I can put it in the app market), I get a code sign error:
Codesign failed with exit code 1
and some additional information says
iPhone Distribution: company name: no identity found
I've created a distribution profile (multiple times) and followed several suggestions (like uninstalling/installing Xcode). Also my distribution profile expiration date is February 2014.
I can Build my project without any problems and run it on an iPhone with my iPhone Developer profile.
Does anyone knows what I'm doing wrong here? Any help would be appreciated.
What is Code Signing Identity? As per Apple, it's their security mechanism, which is used for authenticating identity. It assures users that the applications are trustworthy, and they are created by an Apple authorized source, and it hasn't tampered.
Open the project using Xcode. Select the root project directory, and go to the Signing and Capabilities tab. Here, you can either check Automatically manage signing or do the signing manually.
You can check the profile detail, preview it(I prefer using Space bar) and under Certificate section, you can get the detail. Otherwise, login to apple developer portal and edit the profile to check the certificate used to create the profile. Hope this helps.
Your Distribution Profile might not be valid or not properly verified, go to Organizer->Devices->Provisioning Profiles
and try to refresh your profiles(delete & refresh) they will show up after refreshing. Once refreshed, make sure the green icon as status is showing with the profiles if it is valid and signed properly. if it does not solve your problem then you need to create the Distribution profile again. You could find this tutorial helpful if you are getting started with distribution of your app. I hope it helps your cause
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With