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 09-29-2010, 06:50 AM   #1 (permalink)
Registered Member
 
Join Date: Mar 2010
Age: 29
Posts: 9
Smikey is on a distinguished road
Default Code Sign Error after renewing Prov Prof - works on other projects but not original!

Everything was working beautifully, until I had to renew an expired provisioning profile. I logged on to the dev center, renewed the profile, downloaded and installed it and wham - errors.

I have spent the customary few days trawling forums, deleting and reinstalling certificates, provisioning profiles, keys in the key chain, crying, pulling my hair out and now please god will someone help me.

Basically, after all of the above, deploying to my iPhone WORKS. If I create a new project and build to the device it works fine. I have 2 provisioning profiles, one with an explicit identifier and the other with a wild card. Both work fine with a NEW project.

The problem is that one project in particular (my main one) will not deploy. In the Project Settings, everything looks fine.

The provisioning profiles are fine. The bundle identifier is correct. But I STILL get this error every time:

Check dependencies

[BEROR]Code Sign error: The identity 'iPhone Distribution: Michael Othen' doesn't match any valid certificate/private key pair in the default keychain

If I go back in to the Project Settings and click on the line in the picture, I get the following text below:

The name (“common name”) of a valid code-signing certificate in a keychain within your keychain path. A missing or invalid certificate will cause a build error. [CODE_SIGN_IDENTITY]

However, I also get this in any new project, which all work fine! The error doesn't appear when the settings screen loads, only when I reselect the Code Signing Identity.

I have revoked, renewed, downloaded and re-installed everything more than once. Please, please can someone help me figure this out before I lose all my sanity.

Thanks so much!!!

Michael
Smikey is offline   Reply With Quote
Old 09-29-2010, 07:00 AM   #2 (permalink)
Registered Member
 
Join Date: Oct 2009
Location: Amsterdam, The Netherlands
Posts: 782
TUX2K is on a distinguished road
Default

The problem is that the kay used to sign the provisioning profile can not be fond in the keychain.

I had this problem once, but can't remember how I solved it.
Try to open the keychain Access and have a look there.
TUX2K is offline   Reply With Quote
Old 09-29-2010, 07:13 AM   #3 (permalink)
Registered Member
 
Join Date: Mar 2010
Age: 29
Posts: 9
Smikey is on a distinguished road
Default

The key is in there and working fine. Like I said - if I deploy another newly created project, it works fine.
Smikey is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone, objective-c, provisioning, provisioning 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: 345
6 members and 339 guests
headkaze, mistergreen2011, nobstudio, Objective Zero, revg, v1n2e7t
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:09 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0