Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code Sign error: The identity 'iPhone Developer: x Xxxxx' doesn't match any identity in any profile

I get this build error when I build my iPhone project to run on my device:

 **Code Sign error: The identity 'iPhone Developer: x Xxxxx' doesn't match any identity in any profile** 

My development code signing certificate expired so I got a new one. On my first attempt I created a new CSR and got the message above. The second time I reused my original CSR and got the same result. Another strange thing is the new certificate has an extra string with brackets after my name in the "common name" when I look at it using Keychain Access like this:

iPhone Developer: x Xxxxx **(3BDUAJYC9Q)** 

`My original certificate didn't have that.

I have Xcode Version 3.1.3 Component versions Xcode IDE: 1191.0 Xcode Core: 1192.0 ToolSupport: 1186.0 

Does anyone know how to solve this?

like image 914
Cal Avatar asked Jul 02 '09 03:07

Cal


People also ask

What is code signing identity in IOS?

Code signing your app assures users that it's from a known source and hasn't been modified since it was last signed. Before your app can integrate app services, be installed on a device, or be submitted to the App Store, it must be signed with a certificate issued by Apple.

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.


1 Answers

  1. Right Click the Project (eg. x.xcodeproject) and select Show Package Content
  2. Open project.pbxproj with TextEdit
  3. Search for all "CODE_SIGN_IDENTITY[sdk=iphoneos*]" and set it to "CODE_SIGN_IDENTITY[sdk=iphonesos*]" = "iPhone Developer";
  4. Search for "PROVISIONING_PROFILE[sdk=iphoneos*]" and set it to "PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  5. Save the file
  6. Reopen the Xcode project or select "Read from Disk" resulting from Xcode the prompt.
  7. This Worked for me. I hope it works for you too.
like image 138
kw4m3n4 Avatar answered Sep 24 '22 16:09

kw4m3n4