Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

code sign error in xcode, no identity found

Tags:

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.

like image 999
Ralf Avatar asked Feb 25 '13 13:02

Ralf


People also ask

What is code signing identity in Xcode?

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.

How do I manually sign in Xcode?

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.

How can I see my signing certificate in Xcode?

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.


1 Answers

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

like image 151
nsgulliver Avatar answered Sep 27 '22 19:09

nsgulliver