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 05-18-2009, 10:05 AM   #26 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 78
Default

Quote:
Originally Posted by husoft View Post
I had the same problem as joni
What they said - same issue ... but making the login chain the default did NOT help in my case.

Bear with me. This is my first go-round with provisioning, and I have been taking care to follow the steps exactly. Apparently not exactly enough though!

Here's what I have in the (default) login keychain:
  • A valid intermediate CA: "Apple Worldwide Developer Relations Cerfitication Authority"
  • A valid cert named "iPhone Developer: Joe" issued by the aforementioned CA
  • A RSA 2048-bit private and public key, each named "Joe iPhone Dev Key"
So far, so good. Meanwhile, on the Program Portal, I have:
  • Registered my iPod touch
  • Added an App ID (com.companyname.appid). Reality Check Q: The "App ID Name" field is just a helpful description, yes? (In "Manage" that same field is listed as "Descriptions" so I'm hoping the answer _is_ yes!)
  • Created a Development Provisioning Profile for the aforementioned App ID, device and certificate. However: On the Portal, the Certificate only shows as "Joe" and not "iPhone Developer: Joe". (Don't know if that's an issue or not.)
Now, on to the home stretch! In Xcode 3.1.3, I have:
  • REMOVED my build directory for the project in question (before launching Xcode with said project).
  • Docked/synced my iPod touch
  • Dragged-and-dropped my downloaded provisioning profile into the appropriate spot in the Organizer. It's not grayed out, and the profile is also in my Library in the expected location.
  • Chosen "iPhone Device 2.2.1" as the active SDK.
  • Under Targets, I have selected my app, then picked Info.
  • Under the Build tab, verified Base SDK is set to "iPhone Device 2.2.1" ... and here's where I run into problems. For Code Signing Identity, Any iPhone OS Device, there is a value of "iPhone Developer" - fine. I change it to "iPhone Developer: Joe"
  • Under the Properties tab, I change the Identifier to match my App ID. (As I understand it, if my App ID used a wildcard, I would _still_ put an explicit ID at the end.)
The moment of truth! Build ... and ... splat:

Code Sign error: a valid provisioning profile matching the application's Identifier 'com.companyname.appid' could not be found.

"Waah waah."

Color me clueless. Wha' happen'?
jdandrea is offline   Reply With Quote
Old 05-18-2009, 10:36 AM   #27 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 78
Default

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!)
jdandrea is offline   Reply With Quote
Old 05-19-2009, 08:27 AM   #28 (permalink)
New Member
 
Join Date: May 2009
Posts: 5
Default

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.
I just moved a project from one computer to another and did a reset/resync of my keychain. This caused the problem where my project was sometimes finding my iPhone Developer certificate and sometimes not. Setting my "login" keychain to default as you suggested fixed my problem. Thanks!
M of IMAK is offline   Reply With Quote
Old 05-24-2009, 05:06 PM   #29 (permalink)
Registered Member
 
Join Date: Jul 2008
Location: Kiev
Posts: 75
Default

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.
This works like a charm. Thanx
pashik is offline   Reply With Quote
Old 05-26-2009, 04:01 AM   #30 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: Barcelona
Posts: 15
Default

Sombody can explain how i can do this "in Keychain Access right clicked "login" keychain and set it to default"

I open Keychain Access but i don't know where i have click with right button to select "login" and set if to default. Please!! I have the same error and i don't understant what i have to do
ivanovich is offline   Reply With Quote
Old 05-26-2009, 05:04 AM   #31 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: Barcelona
Posts: 15
Default

Quote:
Originally Posted by ivanovich View Post
Sombody can explain how i can do this "in Keychain Access right clicked "login" keychain and set it to default"

I open Keychain Access but i don't know where i have click with right button to select "login" and set if to default. Please!! I have the same error and i don't understant what i have to do
Ok! i amswer to myself!
The option was in the File menu
ivanovich is offline   Reply With Quote
Old 05-26-2009, 04:32 PM   #32 (permalink)
New Member
 
Join Date: Jan 2009
Posts: 8
Default

Quote:
Originally Posted by jdandrea View Post
What they said - same issue ... but making the login chain the default did NOT help in my case.

Bear with me. This is my first go-round with provisioning, and I have been taking care to follow the steps exactly. Apparently not exactly enough though!

Here's what I have in the (default) login keychain:
  • A valid intermediate CA: "Apple Worldwide Developer Relations Cerfitication Authority"
  • A valid cert named "iPhone Developer: Joe" issued by the aforementioned CA
  • A RSA 2048-bit private and public key, each named "Joe iPhone Dev Key"
So far, so good. Meanwhile, on the Program Portal, I have:
  • Registered my iPod touch
  • Added an App ID (com.companyname.appid). Reality Check Q: The "App ID Name" field is just a helpful description, yes? (In "Manage" that same field is listed as "Descriptions" so I'm hoping the answer _is_ yes!)
  • Created a Development Provisioning Profile for the aforementioned App ID, device and certificate. However: On the Portal, the Certificate only shows as "Joe" and not "iPhone Developer: Joe". (Don't know if that's an issue or not.)
Now, on to the home stretch! In Xcode 3.1.3, I have:
  • REMOVED my build directory for the project in question (before launching Xcode with said project).
  • Docked/synced my iPod touch
  • Dragged-and-dropped my downloaded provisioning profile into the appropriate spot in the Organizer. It's not grayed out, and the profile is also in my Library in the expected location.
  • Chosen "iPhone Device 2.2.1" as the active SDK.
  • Under Targets, I have selected my app, then picked Info.
  • Under the Build tab, verified Base SDK is set to "iPhone Device 2.2.1" ... and here's where I run into problems. For Code Signing Identity, Any iPhone OS Device, there is a value of "iPhone Developer" - fine. I change it to "iPhone Developer: Joe"
  • Under the Properties tab, I change the Identifier to match my App ID. (As I understand it, if my App ID used a wildcard, I would _still_ put an explicit ID at the end.)
The moment of truth! Build ... and ... splat:

Code Sign error: a valid provisioning profile matching the application's Identifier 'com.companyname.appid' could not be found.

"Waah waah."

Color me clueless. Wha' happen'?

Seems to me you have neglected to reflect the "com.companyname.appid" in your Info.plist!
dbrownstone is offline   Reply With Quote
Old 06-10-2009, 09:58 AM   #33 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 78
Default

Quote:
Originally Posted by dbrownstone View Post
Seems to me you have neglected to reflect the "com.companyname.appid" in your Info.plist!
I thought that might be it, but a quick check confirms "com.companyname.appid" was/is set as the bundle identifier in Info.plist, scout's honor! (All's well now though. I had dropped my provisioning profile into the "Provisioning" section of the device summary vs. the "Provisioning Profiles" section. Once I put it in the latter, everything just worked.)
jdandrea is offline   Reply With Quote
Old 06-10-2009, 09:14 PM   #34 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 1
Default

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.
Wow, what a stupid issue to come up out of nowhere! This solved my problem too.
twolverines is offline   Reply With Quote
Old 06-16-2009, 11:32 AM   #35 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 24
Default

Quote:
Originally Posted by joni View Post
- updated the info.plist (since I'd changed the com.yourcompany part of the app id in the new profile)
Forgive me as I'm an absolute noob with this, but how important is this step? I think this is my foley As I get a collective assembly of errors;

Code:
CodeSign error: a valid provisioning profile is required for product type 'Application' in SDK 'Device - iPhone OS 2.2'
Code:
a signing identity matching this profile could not be found in your keychain
Code:
matching certificate identity with private key not found in login keychain
Oh the fun! I just wanna make apps and games lol

~t
lildragon is offline   Reply With Quote
Old 06-16-2009, 11:43 AM   #36 (permalink)
New Member
 
Join Date: Dec 2008
Posts: 4
Default

Aha....

Nice one Sherlock. Just had this problem and cert was indeed invalid.

Needed to create a new one online and bingo..up and running.

Ta.
Kirsten8 is offline   Reply With Quote
Old 06-22-2009, 08:58 AM   #37 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 3
Default Suitsetamine. Vajan abi

Tere!

Suitsetan juba 8 aastat, nüüd aga otsustasin, et tuleb loobuda sellest! Aitab! Kas kellegil on kogemus, kuidas on kergem seda teha?
Tean mitmeid variante-
tabletid, ehk toidulisandid
plaastrid
nätsud
!!! Raamat !!! ( Allen Carr vist oli )

Kas on teada veel variante?

Tänud!
MajaSaalis is offline   Reply With Quote
Old 06-23-2009, 03:11 AM   #38 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 3
Default Suitsetamine. Vajan abi

On siis mõned ettepanekud? Reaalselt vajan abi...
MajaSaalis is offline   Reply With Quote
Old 06-23-2009, 10:32 PM   #39 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: Germany
Age: 26
Posts: 243
Default

Quote:
Originally Posted by ivanovich View Post
Ok! i amswer to myself!
The option was in the File menu
The set to default option in my case is disabled any idea why is that?

EDIT

:S I had some space at the end of the bundle identifier that's why It couldn't see it
__________________
-Hosam

Last edited by hosam; 06-23-2009 at 10:45 PM.
hosam is offline   Reply With Quote
Old 06-26-2009, 12:32 PM   #40 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 3
Default Suitsetamine. Vajan abi

Hetkel leidsin siis selline info:
Suitsetamine - Toidulisandid: peenise suurendamiseks, salendamiseks, rindade suurendamiseks, erektsiooni kontrollimiseks - kapslid, ehk tabletid. pakutakse erinevad pakendid.
Loobu suitsetamisest! selgitused, kuidas kergem alustada
HELP - Elagem tubakata veel üks keskond, päris asjalik
tubakavaba.ee - Suitsetamisest loobumine graafiku alusel loobumine

Apteekides Nikorete plaastrid, nätsud....
Endal vist jõudu ja jaksu piisavalt pole- peab kasutama mingi abivahend. On siis mõni eduloo ka?
MajaSaalis is offline   Reply With Quote
Old 07-02-2009, 04:24 PM   #41 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 11
Default profile doesn’t match Application Identifier

Quote:
Originally Posted by MajaSaalis View Post
Hetkel leidsin siis selline info:
Suitsetamine - Toidulisandid: peenise suurendamiseks, salendamiseks, rindade suurendamiseks, erektsiooni kontrollimiseks - kapslid, ehk tabletid. pakutakse erinevad pakendid.
Loobu suitsetamisest! selgitused, kuidas kergem alustada
HELP - Elagem tubakata veel üks keskond, päris asjalik
tubakavaba.ee - Suitsetamisest loobumine graafiku alusel loobumine

Apteekides Nikorete plaastrid, nätsud....
Endal vist jõudu ja jaksu piisavalt pole- peab kasutama mingi abivahend. On siis mõni eduloo ka?

In my program portal I see
App ID: iMyapp
3C26P4B7YL.edu.Myapp.

in the info.plist for Bundle Identifier I had:

edu.Myapp.iMyapp

I got the same error message when I wanted to run it on my device:

“profile doesn’t match Application Identifier edu.Myapp.iMyapp"

but strangely I realized when I changed the bundle Identifier to the following it works!

edu.Myapp.


!!!
Soal is offline   Reply With Quote
Old 07-03-2009, 01:14 AM   #42 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 13
Default No matching profiles found

Even though my login is set as default and i have all valid certificates. but still i find the code signing identity is greyed..

another question: do i need to install the app_devloper certificate in keychain?
do this cause the problem for the code signing identity?

Thanks
Viswa
viswa08 is offline   Reply With Quote
Old 07-20-2009, 07:50 AM   #43 (permalink)
Registered Member
 
Join Date: Feb 2009
Location: India
Posts: 137
Default

Quote:
Originally Posted by Soal View Post
In my program portal I see
App ID: iMyapp
3C26P4B7YL.edu.Myapp.

in the info.plist for Bundle Identifier I had:

edu.Myapp.iMyapp

I got the same error message when I wanted to run it on my device:

“profile doesn’t match Application Identifier edu.Myapp.iMyapp"

but strangely I realized when I changed the bundle Identifier to the following it works!

edu.Myapp.


!!!

I also faced the same problem and it was fixed by the same method you are talking, but after that I was able to install only one app at a time using that profile ie if I install app A and then try to install an app B, app A gets replaced by app B. I doubt it is because that i didnt add the '*' to appid. I need to try that out.

-John
JohnMabassa is offline   Reply With Quote
Old 07-22-2009, 09:23 AM   #44 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 23
Default

I am new to programming and Xcode. And just today when i opened op my Macbook to try running one of my first applications on my iPod touch. I remember that i had some kinda device info window opened. But i just closed it. But when i tried to run my application i got this error. "Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair i the default keychain." I tried The Keychain access thing but it didn't work. And since i am still a noob to all this, i have no idea what to do.
Metal Dice is offline   Reply With Quote
Old 07-22-2009, 10:36 PM   #45 (permalink)
New Member
 
Join Date: Jul 2009
Posts: 1
Default hope this helps

Quote:
Originally Posted by Metal Dice View Post
I am new to programming and Xcode. And just today when i opened op my Macbook to try running one of my first applications on my iPod touch. I remember that i had some kinda device info window opened. But i just closed it. But when i tried to run my application i got this error. "Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair i the default keychain." I tried The Keychain access thing but it didn't work. And since i am still a noob to all this, i have no idea what to do.
Hey, I had the same freaking problem! I found this guy's tutorial on devclinic.com Apparently it's a new forum, but their tutorial on app loading got my thing working. There's a lot to read, but I just followed it to the teeth, and everything works=) Here's the link to the tutorial!

DevClinic.com • View topic - How to test your development app on the iphone or itouch
Syanox is offline   Reply With Quote
Old 07-24-2009, 01:56 PM   #46 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 13
Default solved

Quote:
Originally Posted by viswa08 View Post
Even though my login is set as default and i have all valid certificates. but still i find the code signing identity is greyed..

another question: do i need to install the app_devloper certificate in keychain?
do this cause the problem for the code signing identity?

Thanks
Viswa
finally i solved it because of certificate ... finaly i reinstall the certifcate then it works
viswa08 is offline   Reply With Quote
Old 07-24-2009, 02:02 PM   #47 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 13
Default

Quote:
Originally Posted by Syanox View Post
Hey, I had the same freaking problem! I found this guy's tutorial on devclinic.com Apparently it's a new forum, but their tutorial on app loading got my thing working. There's a lot to read, but I just followed it to the teeth, and everything works=) Here's the link to the tutorial!

DevClinic.com • View topic - How to test your development app on the iphone or itouch
So nice... Very useful
viswa08 is offline   Reply With Quote
Old 07-24-2009, 02:08 PM   #48 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 13
Default

Quote:
Originally Posted by Metal Dice View Post
I am new to programming and Xcode. And just today when i opened op my Macbook to try running one of my first applications on my iPod touch. I remember that i had some kinda device info window opened. But i just closed it. But when i tried to run my application i got this error. "Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair i the default keychain." I tried The Keychain access thing but it didn't work. And since i am still a noob to all this, i have no idea what to do.
make sure that you have the
1) developer certificate installed in keychain
2) while genertating the provisional profile from site, you selct the developer certificate and download it, afer that drag the downloaded profile to your xcode. Now you should be able to see the profile is highlighted

just try out
viswa08 is offline   Reply With Quote
Old 08-05-2009, 11:44 PM   #49 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 11
Talking

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!)

Ahhhhh. Yes! Thnk you for posting this. Dragging my provisioning profile into the organizer correctly installed it in both locations BUT my old provisioning profile was still listed first in the second "Provisioning Profiles" section. Deleted it and voila! Everything builds! (After a clean all!)
vanb777 is offline   Reply With Quote
Old 08-11-2009, 10:54 PM   #50 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 1
Default Me too

Setting the "login" keychain to the default in Keychain Access also fixed the problem for me. No idea what changed recently that made it stop working.
mrzzmr 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: 241
14 members and 227 guests
ADY, AragornSG, Dani77, Dattee, Duncan C, 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:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0