Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
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:	283
Size:	19.0 KB
ID:	284424   Click image for larger version

Name:	screen2.jpg
Views:	263
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
code sign fail AdamRock iPhone/iPad Programming 2 May 17, 2011 03:26 PM
Code signing! Where are the certificates stored? & Running other peoples source code benkenobi iPhone/iPad Programming 1 Aug 19, 2009 03:23 AM
[xcode] error publishing to device (not debug) wanting code sign MythicFrost iPhone/iPad Programming 0 Apr 1, 2009 01:40 AM
Code sign failed with exit code 1 iphonejudy iPhone/iPad Programming 0 Jan 23, 2009 06:14 AM
XCode target not displaying Code Signing Provisioning Profile sgauravv iPhone/iPad Programming 1 Dec 5, 2008 11:22 AM


All times are GMT -5. The time now is 09:17 AM.

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

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