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