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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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-19-2009, 11:32 AM   #51 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 8
Default

Quote:
Originally Posted by ivanovich View Post
Ok! i amswer to myself!
The option was in the File menu
Got it!

Last edited by Ashutosh Tamrakar; 08-19-2009 at 01:09 PM.
Ashutosh Tamrakar is offline   Reply With Quote
Old 08-20-2009, 05:21 PM   #52 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 2
Default Code Signing Madness

It seems that there are a myriad of things that can go wrong and here's yet another (at least this ended up being my problem):

When creating my Certificate Request for a new iPhone Developer Certificate (after my old one expired), I entered the email address that Apple has on file for me in my developer profile. However, this email address isn't the same email address that I used to CREATE my iPhone Developer account.

Even if you've updated your profile information, you must still use the email address that you used when creating your account.

Yes, the "How-to" guide says, "Enter the email address you used when you created your account" but I (mistakenly) assumed that Apple would be smart enough to use your CURRENT email account. It seems to me that there should be a warning about that but... oh well.

What is more frustrating is that Apple went ahead and issued the certificate, and in the keychain utility, it listed the certificate as being valid. However, XCode was never able to use it. I'm not sure how that all works (nor do I care at this point) but it ended up causing DAYS of frustration.

In the end, I deleted all of my certificates and mobile provisioning profiles and started from scratch. I called Apple to make certain that I was entering the email address and name (sometimes I used my middle initial and sometimes I don't) that was used when the account was created and... VOILA.

I'm now off to drink profusely and forget all about Code-Signing problems until after the weekend.

Hope this helps some poor soul.





Quote:
Originally Posted by husoft View Post
I had the same problem as joni

"A valid signing identity matching this profile could not be found in your keychain."

Solved it with just this step:

in Keychain Access right clicked "login" keychain and set it to default.

Restarted Xcode and all is good again. Have no idea what caused the problem.
DavidReevesATL is offline   Reply With Quote
Old 08-27-2009, 06:05 PM   #53 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 1
Default

Thanks - this was exactly my problem - dropped it in the wrong "appropriate spot"

Quote:
Originally Posted by jdandrea View Post
A-ha! Here's wha' happen' ...

In Organizer, recall that I "Dragged-and-dropped my downloaded provisioning profile into the appropriate spot in the Organizer." The key word here is Appropriate.

I only dragged-and-dropped it into the "Provisioning" section under my "iPod Touch" device summary. HOWEVER ... I did not drag-and-drop it into the "Provisioning Profiles" section under "iPhone Development". Until now.

Build ... and ... TA-DAH!

(I really do hope this helps someone. Such a li'l thing!)
SilverKnack is offline   Reply With Quote
Old 09-03-2009, 09:24 AM   #54 (permalink)
Registered Member
 
gblank's Avatar
 
Join Date: Oct 2008
Location: Netherlands
Posts: 35
Send a message via Skype™ to gblank
Default

I have a newbie question, do I have to purchase the certificate from Apple in order to deploy my app from XCode to my personal iPhone just for testing or is there a way to do that like every other existing in the world IDE's and just copy the application to an iPhone?
Thanks
gblank is offline   Reply With Quote
Old 09-05-2009, 09:00 AM   #55 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 1
Default

Quote:
Originally Posted by comtek View Post
Still not got anywhere with this. Just deleted my developer certificate from the key chain thing. And reinstalled. Still all grayed out!!!

Their must be some files I could delete, and reinstall to get the correct entries somewhere...?
I just spent a few hours wrestling with a codesign problem and then realized the solution was quite obvious. What I was doing wrong was that when I was requesting my certificate I was not inputting my name/email address exactly as entered for my Iphone developer status. I redid it all correctly and finally was able to code sign.

Also, I found that a lot of the online instructions (like the helpful devclinic link earlier in this thread) fail to mention the pushhost certificates process either.


Scott
PANDA FLASHCARDS
sunkaiproductions is offline   Reply With Quote
Old 09-18-2009, 02:59 PM   #56 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 2
Unhappy

Hello, I'm a real real newbie, with just a couple of hours of getting involved in iPhone development. Actually, I was just following a tutorial and tried to build and empty view, just to get a blank view on the emulator; I got the error someone pasted above:

"Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain"

I have no idea about those certificates, do I have to get it by paying the $99 of the Developer Programme? Even if I'm only learning? I thought it was required if you needed to test your apps on actual devices. I'm confused
luchomolina is offline   Reply With Quote
Old 09-18-2009, 03:05 PM   #57 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 2
Default

Oh! Got it! I didn't noticed I was trying to run the app on my iPod

Running now on the Simmulator, silly me.
luchomolina is offline   Reply With Quote
Old 09-21-2009, 10:07 PM   #58 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 1
Cool Missing private key in my case

In my case, I copied the project from my iMac to my Macbook Pro and found out I didn't have my private key installed on the Macbook. So I exported my private key, copied and installed it to the Macbook, and voila it works! I've documented the information here: Creatist: iPhone Development Provisioning on both iMac and Macbook Pro
copet80 is offline   Reply With Quote
Old 10-11-2009, 10:15 AM   #59 (permalink)
Registered Member
 
naomipunkclan's Avatar
 
Join Date: Jun 2009
Location: Scotland
Posts: 28
Default frustrating distribution build

Argh

I have read everything on this thread and the Apple documentation many times over, repeating the whole process and getting no where !

On the Keychain Access -> file -> make keychain 'login' default is greyed out - any reason why ?

I checked that the email and name I used are as entered on sign up (recieve email to that address, my name is spelled correctly)

The provisioning profile XXXXX.mobileprovision is in '.../../.../Provisioning Profiles' folder, having dropped file onto XCode in dock

It shows in the Xcode organiser under provisioning profile

In Keychain access I have 3 certificates:

1. Apple World Wide Developer Relations Cert Authority
2. iPhone Developer:.....
3. iPhone Distribution......

All certificates are valid.

I followed the Apple instructions exactly

The problem is same as described: - Target -> Info -> Build -> Code Signing Identity -> Any iPhone OS -> iPhone Distribution (no profiles currently match)

Any idea what I can do to get past this problem as it is just wasting too much time already :-(

- P
naomipunkclan is offline   Reply With Quote
Old 10-11-2009, 05:29 PM   #60 (permalink)
Registered Member
 
naomipunkclan's Avatar
 
Join Date: Jun 2009
Location: Scotland
Posts: 28
Default still stuck :-(

hi,

Seem to be on an infinite loop of repeatedly trying to get a distribution build here.

Checking everything very carefully. I decided to start clean project and copy all sources to make sure no error in the project file. That done, it seemd to solve the problem, and the distribution provision was not grey out - it selected happily, and I was relieved...

But finally checked everything before Build. Argh !! one error. Same old problem; claiming that the profile does not match

I have clean project again, this time it offers no such false hopes, and the code signing refuses to cooperate

So frustrating

where to next ?
naomipunkclan is offline   Reply With Quote
Old 10-11-2009, 06:45 PM   #61 (permalink)
Registered Member
 
naomipunkclan's Avatar
 
Join Date: Jun 2009
Location: Scotland
Posts: 28
Default finally there

hi again,

Update is that I had one last try before bed - reset keychain, new certificates, through the whole rigmarole again... clean project file...

Don't ask what worked, only difference was perhaps lack of code prefix on bundle identifier... or something else ?

I hope its less painful next time

night - P
naomipunkclan is offline   Reply With Quote
Old 01-06-2010, 11:31 PM   #62 (permalink)
Registered Member
 
Join Date: Jan 2010
Location: Atlanta, GA
Posts: 3
Default Fixed in XCode

I fixed mine without messing with the Keychain at all...or any files.

Here's what I did...

in XCode:
Project menu
click 'Edit Project Settings'
change 'Base SDK' to: iPhone Simulator 3.1.2

Mine had changed itself to "iPhone Device" for whatever reason!?
bertx2 is offline   Reply With Quote
Old 02-16-2010, 11:22 PM   #63 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 1
Default

Quote:
Originally Posted by Pepper View Post
If you open keychain and click on your certificate, does it say that the certificate is valid or invalid?
hi guys
I am very new to this
I am having the same problem and i can't see any certificate with xcode in keychain....can someone help me with this???
thanks
AteeBull is offline   Reply With Quote
Old 02-20-2010, 01:12 PM   #64 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 1
Default

sorry in advance for a probably silly question, but...
i'm just playing with the sdk and some examples, included some from the apple site, but i got the same error of some of you
in the keychain i got just the apple worldwide developer relations certificate autohority, i guess i need some other, right?
the question is: did i need to join the iphone developer program (paying the 99 fee) even only to test a simple sample app on my ipod touch?



matteo from italy
tzenobite is offline   Reply With Quote
Old 02-20-2010, 11:08 PM   #65 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 99
Default

Quote:
Originally Posted by tzenobite View Post
the question is: did i need to join the iphone developer program (paying the 99 fee) even only to test a simple sample app on my ipod touch?
Yes, that is correct. Without paying the fee you can only test with the simulator.
Mizonnz is offline   Reply With Quote
Old 02-21-2010, 12:36 AM   #66 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 784
Default

I have similar problem. I had a provisioning profile for development expire, I renewed it, and ran into all sorts of problems. I went to keychain access and deleted all certificates. Now I have WWDC Development and Distribution Certificates. Organizer shows Provisioning Profile and Distribution Profile each with App ID 3TAEG38J55.* When I try to build for distribution everything on iTunesConnect says invalid, not signed by Apple. The Distribution Profile will show in bold and it will build without errors, but the binary I upload won't work. What am I doing wrong? I have had 6 apps submitted in the first quarter with no problems, and then ran into this.
__________________
One of my first (Nag-O-Matic)One of my first apps (Nag-O-Matic)

Your Mom
spiderguy84 is online now   Reply With Quote
Old 03-14-2010, 10:40 AM   #67 (permalink)
Persian Developer
 
Join Date: Mar 2009
Posts: 274
Default

Hi , i create a provision and developer identity.certificate with apple provision assistant and i have huge problem , everything done , but when i add my certificate into KeyChain , the certificate add , but doesn't show on the Keys and my Certificate and xcode Organizer says

Quote:
a valid signing identity matching this profile could not be found in your keychain
and compiler :
Quote:
Code Sign error: The identity 'iPhone Developer' doesn't match any
valid certificate/private key pair in the default keychain
i didn't have this problem on the leopard with sdk 3.1 my current os is 10.6.2 SDK 3.1.3 what's the problem ?
__________________
My Applications On the App Store


Momeks is offline   Reply With Quote
Old 03-14-2010, 10:42 AM   #68 (permalink)
Persian Developer
 
Join Date: Mar 2009
Posts: 274
Default

Hi , i create a provision and developer identity.certificate with apple provision assistant and i have huge problem , everything done , but when i add my certificate into KeyChain , the certificate add , but doesn't show on the Keys and my Certificate and xcode Organizer says

Quote:
a valid signing identity matching this profile could not be found in your keychain
and compiler :
Quote:
Code Sign error: The identity 'iPhone Developer' doesn't match any
valid certificate/private key pair in the default keychain
i didn't have this problem on the leopard with sdk 3.1 my current os is 10.6.2 SDK 3.1.3 what's the problem ?
the certificate is valid ...
__________________
My Applications On the App Store



Last edited by Momeks; 03-14-2010 at 12:04 PM.
Momeks is offline   Reply With Quote
Old 03-15-2010, 08:45 AM   #69 (permalink)
Persian Developer
 
Join Date: Mar 2009
Posts: 274
Default

any sulotion ? !!!
__________________
My Applications On the App Store


Momeks is offline   Reply With Quote
Old 03-15-2010, 08:49 AM   #70 (permalink)
Registered Member
 
gblank's Avatar
 
Join Date: Oct 2008
Location: Netherlands
Posts: 35
Send a message via Skype™ to gblank
Default

Quote:
Originally Posted by Momeks View Post
any sulotion ? !!!
Well, after upgrading the SDK I eventually had to go to the apple developer portal and create all new profiles and certificates that had a 3.1.2 SDK inside of them and then deleted everything from the keychain and reinstalled the new certificates and profiles.
You have to follow a setup wizard at the developer portal of apple like if it was your first time there.
At least this is what worked for me.

I said good day!
gblank is offline   Reply With Quote
Old 03-17-2010, 03:06 PM   #71 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 4
Default

Same problem.

I'm as newbie as they get, and really confused by Mac language.

I get the error:
"Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default
keychain."

So I guess I need to edit something so my developer name is in there, but I can't figure out what. I don't even have a folder for mobile devices, and I've searched for any files with "provision" and get nothing. I try to upload acertificate signature request and can't find instructions. Can't find a developer portal in the development center.

Soooooo frustrated.
abcdefz is offline   Reply With Quote
Old 03-17-2010, 04:03 PM   #72 (permalink)
Registered Member
 
gblank's Avatar
 
Join Date: Oct 2008
Location: Netherlands
Posts: 35
Send a message via Skype™ to gblank
Default

Quote:
Originally Posted by abcdefz View Post
Same problem.

I'm as newbie as they get, and really confused by Mac language.

I get the error:
"Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default
keychain."

So I guess I need to edit something so my developer name is in there, but I can't figure out what. I don't even have a folder for mobile devices, and I've searched for any files with "provision" and get nothing. I try to upload acertificate signature request and can't find instructions. Can't find a developer portal in the development center.

Soooooo frustrated.
Did you paid the 99$ for the developer certificate at the apple developer website? If not as far as I know you cannot install your app on the iPhone/iPod ( i.e. real device ) you should be able however to test the application on the Emulator that comes with XCode.
gblank is offline   Reply With Quote
Old 03-18-2010, 01:28 PM   #73 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 4
Default

Sorry for the confusion.

That's the error I get when I try xcode on my iBook G4.

I thought that I would be able to build an app and test it with the emulator before I paid the $99 to test it on the phone.
abcdefz is offline   Reply With Quote
Old 04-14-2010, 03:08 PM   #74 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 193
Default

I have a similar issue! I had to do a clean install of SL. I still have my old certificateSigningRequest and cer identity files and provisioning profiles.

I installed the cer files in my keychain by doubleclicking them but when I drag the provisioning profiles to the organizer window in Xcode I get an invalid non matching certificates with keys error.

I thought so, so my new question becomes; I have to revoke the old dev and dist certificates from the portal and delete the prov profiles and create new certificates and prov-profiles in the portal?

Just one doubt, will it affect my existing apps in the AppStore?

Quote:
Originally Posted by husoft View Post
I had the same problem as joni

"A valid signing identity matching this profile could not be found in your keychain."

Solved it with just this step:

in Keychain Access right clicked "login" keychain and set it to default.

Restarted Xcode and all is good again. Have no idea what caused the problem.
marciokoko is offline   Reply With Quote
Old 05-04-2010, 09:41 PM   #75 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 2
Default

Quote:
Originally Posted by jdandrea View Post
A-ha! Here's wha' happen' ...

In Organizer, recall that I "Dragged-and-dropped my downloaded provisioning profile into the appropriate spot in the Organizer." The key word here is Appropriate.

I only dragged-and-dropped it into the "Provisioning" section under my "iPod Touch" device summary. HOWEVER ... I did not drag-and-drop it into the "Provisioning Profiles" section under "iPhone Development". Until now.

Build ... and ... TA-DAH!

(I really do hope this helps someone. Such a li'l thing!)

Wiked!!! AAAAAAHHHHHHHHHHHHHH ryt now i cant even smile cuz ive been tryna figure out problems after problems then i came up with this error and for ages i was trying to figure out what it was. the reason it never worked other time was because it involved other errors but when i finally cracked down to this point it was because i didnt drag and drop into the correct BOX!!! AAAAA APPPLE WHYYYY? Thank You Dude now i can sleep peacefully. ZzZzZzZz
Muhammed is offline   Reply With Quote
Reply

Bookmarks

Tags
application, identifier, match, profile

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: 236
15 members and 221 guests
ADY, AragornSG, Dani77, Dattee, Duncan C, fkmtc, HDshot, HemiMG, Promo Dispenser, Punkjumper, Rudy, sacha1996, sneaky, spiderguy84, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,231
Posts: 380,768
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

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