Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 7, 2011, 02:27 AM   #1
Tex-Twil
macrumors 68020
 
Tex-Twil's Avatar
 
Join Date: May 2008
Location: Europe
XCode code sign fails

Hi,
I know this is a common question but I have troubels building my app in XCode. It works fine on my MBP but when I switch to my iMac, I get the error

Quote:
Code Sign error: The identity 'My Name' doesn't match any valid certificate/private key pair in the default keychain
I did import my dev key/cert pair into key chain
I do have a provisioning profile installed
and I did select my key in the code signing options in xCode

What did I forget ?
Attached Thumbnails
Click image for larger version

Name:	screen1.jpg
Views:	290
Size:	19.0 KB
ID:	284424   Click image for larger version

Name:	screen2.jpg
Views:	270
Size:	39.1 KB
ID:	284425  
Tex-Twil is offline   0 Reply With Quote
Old May 7, 2011, 05:25 AM   #2
jnoxx
macrumors 65816
 
jnoxx's Avatar
 
Join Date: Dec 2010
Location: Aartselaar // Antwerp // Belgium
Apple Worldwide Developer Relations Certification Authority

Do u have that certificate too? and did u tried following the steps again from the site..
jnoxx is offline   0 Reply With Quote
Old May 7, 2011, 06:06 AM   #3
Tex-Twil
Thread Starter
macrumors 68020
 
Tex-Twil's Avatar
 
Join Date: May 2008
Location: Europe
Quote:
Originally Posted by jnoxx View Post
Apple Worldwide Developer Relations Certification Authority

Do u have that certificate too?
I haven't explicitly imported the Apple's CA certificate but Key Chain shows my developer cert as valid the certification chain is verified.

Edit: I imported it from here but I'm still getting the error

Edit2: if I open the project.pbxproj file, I see that there are still some references to my old signing profile ?! If I replace the

Quote:
"CODE_SIGN_IDENTITY = MyName";
by
Quote:
CODE_SIGN_IDENTITY = "iPhone Developer: MyName (XXXXXXXX6)";
then it works. I don't understand why xcode was not showing this old signing identity ...

Last edited by Tex-Twil; May 7, 2011 at 06:43 AM.
Tex-Twil is offline   0 Reply With Quote
Old May 7, 2011, 07:53 AM   #4
jnoxx
macrumors 65816
 
jnoxx's Avatar
 
Join Date: Dec 2010
Location: Aartselaar // Antwerp // Belgium
Well, the whole certificate I think is absolute (insert random foul word.).
Normally apple is like, do this,and bam works. Now it's, do 100 steps, it won't work from first time, because that's just too much fun. so u will have to do it 3x, so after 300 steps, congratz it works.
That's my opinion though.
And to get the license for company wise or entreprise, don't even get me started on that.
jnoxx is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Fake Code Sign Xcode 5 newtoiphonesdk iPhone/iPad Programming 1 Jan 22, 2014 10:17 AM
Unable to fix Code Sign error TexasStation iPhone/iPad Programming 2 Sep 8, 2013 10:58 AM
Help me please! iPhone 4 fails to restore via iTunes, error code -1 goingmad iPhone Tips, Help and Troubleshooting 1 Feb 9, 2013 08:59 AM
Help Code Sign Error: iPhone Distribution loon3y iPhone/iPad Programming 7 Aug 28, 2012 10:07 PM
Mountain Lion redemption code fails again lockdown571 OS X 10.8 Mountain Lion 3 Jul 26, 2012 10:47 AM

Forum Jump

All times are GMT -5. The time now is 03:45 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC