Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-04-2010, 04:12 PM   #1 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 6
lms5400 is on a distinguished road
Default trying to package for distribution

I think i have figured it out, but i still get compile errors saying "The identity [xyz] doesn't match and valid certificate .... How do i change the identity? and what even is an identity?

I have issued a new certificate, distribution provision and created a new apple id, i have the cert installed in the keychain thing and i have the provision installed in open x. which can be seen in the organizer window. My .plist file contains the correct Bundle identifier for my app. I'm wondering where i might have gone wrong.

One issue that is obvious is that my build profile is messed up. I accidentally clicked delete on the line right below "Code Signing Identity" There used to be a sub-category that looks like this



I deleted the entire row (left column and all) without prompt and there is no way to get it back.... likewise I deleted my release configuration also with no prompt and i'm worried i'm going to have to rebuild the entire project because there is no "Restore defaults" option.

This used to work, but the certificates all experience a few weeks ago, so i had to delete everything and start over, being a nub, i'm sure i messed it all up.

Last edited by lms5400; 08-04-2010 at 04:17 PM.
lms5400 is offline   Reply With Quote
Old 08-04-2010, 04:46 PM   #2 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 6
lms5400 is on a distinguished road
Default

i was able to add that row back into the project settings by clicking a little button in the lower left corner and selecting "add build setting condition" but i still get identity error. I will recreate the certifs again for fun. Question, when i request a certificate, does the "Common Name" matter?
lms5400 is offline   Reply With Quote
Old 08-04-2010, 05:48 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 6
lms5400 is on a distinguished road
Default

did the entire process again, i still get the same error:

Code Sign Error: The identity 'MY NAME (ASDF12345...)' doesn't match any valid certificate / private key pair in the default keychain."

of course it does not because i changed them all, but how to i tell it to use the new certificates in my keychain? Does this have to do with the provisioning profile?
lms5400 is offline   Reply With Quote
Old 08-04-2010, 07:23 PM   #4 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 6
lms5400 is on a distinguished road
Default

finally figured it out, there was another place to edit the signing settings that i did not know about (this is my second day using a on a mac much less xcode)

under the appname.info inside the Targets directory in the project list there are more build settings that seem to be different than the main project settings yet they look confusingly the same. Anyway, that seemed to do the trick. There was an old provision in there i had to change out.
lms5400 is offline   Reply With Quote
Old 08-04-2010, 08:30 PM   #5 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Ypsilanti, Michigan
Age: 63
Posts: 1,549
RLScott is on a distinguished road
Default

Quote:
Originally Posted by lms5400 View Post
finally figured it out, there was another place to edit the signing settings that i did not know about (this is my second day using a on a mac much less xcode)

under the appname.info inside the Targets directory in the project list there are more build settings that seem to be different than the main project settings yet they look confusingly the same. ....
Although we seldom have several targets in one project, it is possible. To allow for that possibility, they make it so the Project settings can be overridden by the Target settings.
RLScott is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 324
9 members and 315 guests
alexP, arash5500, gordo26, mediaspree, nobstudio, rayjeong, Sloshmonster, stanny, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,655
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pungs
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:23 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0