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

sdkIQ for iPhone
($4.99)

Your First iPhone App
($1.99)

iPhone Code Generator
($9.99)

Dual Matches
($0.99)

Calcuccino Programmers' Calculator
($2.99)

SDKtoday
(free)

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 02-02-2009, 04:11 PM   #1 (permalink)
Magic Hands' Daddy
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 22
Posts: 2,029
Send a message via ICQ to smithdale87 Send a message via AIM to smithdale87 Send a message via Skype™ to smithdale87
Default Code-sign error

I opened up an old project today, did some modifications to the code, and when I try and build it, I get a fricken code-sign error*:

I made sure that the provisioning profile I build with is also installed on the device.

Anyone have any ideas?
Code:
Line Location Tool:0: CodeSign error: a valid provisioning profile is required for product type 'Application' in SDK 'Device - iPhone OS 2.2.1'
__________________
Games
AppRoach - (v1.0)
7 Deaths In Nagamachi (v1.1)
Segment (v1.2)
ThumStruck Free (v1.5)
Plummet - new (v1.0)
ThumStruck 2! - Coming Soon

Apps
ArtsMemphis - (v1.0)
Elvis Mobile (v1.1)
DataLoss DB - (v1.1)
Lovers & Haters - (v1.0)
smithdale87 is offline   Reply With Quote
Old 02-02-2009, 04:13 PM   #2 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 18
Default

Run 'Keychain Access' and see if your dev/dist certs may have expired.

Last edited by AppStore-Diagnostics; 02-02-2009 at 04:19 PM.
AppStore-Diagnostics is offline   Reply With Quote
Old 02-02-2009, 04:17 PM   #3 (permalink)
New Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
Default

Sexual preferences aside have you verified that your certificates haven't expired. Mine all expired a few days ago. Took some work to get everything all working again.

Run 'Keychain Access' and see if your dev/dist certs may have expired.
RickMaddy is offline   Reply With Quote
Old 02-02-2009, 04:51 PM   #4 (permalink)
Magic Hands' Daddy
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 22
Posts: 2,029
Send a message via ICQ to smithdale87 Send a message via AIM to smithdale87 Send a message via Skype™ to smithdale87
Default

Lol @ the title was edited :-D

Anyways, thanks for the tip. My cert expired on the 16th of Jan.

As a side note, when I build in "Release" mode, it works even though the cert is expired. Why?
__________________
Games
AppRoach - (v1.0)
7 Deaths In Nagamachi (v1.1)
Segment (v1.2)
ThumStruck Free (v1.5)
Plummet - new (v1.0)
ThumStruck 2! - Coming Soon

Apps
ArtsMemphis - (v1.0)
Elvis Mobile (v1.1)
DataLoss DB - (v1.1)
Lovers & Haters - (v1.0)
smithdale87 is offline   Reply With Quote
Old 02-02-2009, 04:56 PM   #5 (permalink)
New Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
Default

Verify which cert is configured for a Release build. It's possible it's using a different, non-expired cert.
RickMaddy is offline   Reply With Quote
Old 03-01-2009, 05:14 PM   #6 (permalink)
Registered Member
 
tkilmer's Avatar
 
Join Date: May 2008
Posts: 583
Default

Ok...Bringing this up again. My certificates expired a while back and I got them working again. On only one project does my application get this error. It is driving me insane. I have redownloaded all of my provisioning profiles and it just will not compile. No other project has these issues. Any suggestions?
tkilmer is offline   Reply With Quote
Old 03-03-2009, 08:45 PM   #7 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 1
Default CodeSign error in one device debug project

Quote:
Originally Posted by tkilmer View Post
Ok...Bringing this up again. My certificates expired a while back and I got them working again. On only one project does my application get this error. It is driving me insane. I have redownloaded all of my provisioning profiles and it just will not compile. No other project has these issues. Any suggestions?
I have similar issue:

I upgraded to 2.2.1 and matching SDK. Then I noticed that one of my certs was expired. Got the new cert and made a new profile to match. All is well with other projects running in debug mode but the project that I got the original error on cannot run debug on the device. Release is fine.

Line Location Tool:0: CodeSign error: a valid provisioning profile is required for product type 'Application' in SDK 'Device - iPhone OS 2.2.1'

I tried deleting the project and getting a newer version from another Mac. Same error message. I'm not sure what needs to be cleaned out to get rid of this.
CoolDoood is offline   Reply With Quote
Old 03-13-2009, 12:17 AM   #8 (permalink)
Registered Member
 
brendand's Avatar
 
Join Date: Aug 2008
Posts: 222
Default

I'm having the same issue with my app now. Ugh. My certificates recently expired and now I get the dreaded CodeSign error.

I regenerated my certificates and re-downloaded the provisioning profiles to no avail. This really sucks.

Any ideas?

Thanks,

Quote:
Originally Posted by CoolDoood View Post
I have similar issue:

I upgraded to 2.2.1 and matching SDK. Then I noticed that one of my certs was expired. Got the new cert and made a new profile to match. All is well with other projects running in debug mode but the project that I got the original error on cannot run debug on the device. Release is fine.

Line Location Tool:0: CodeSign error: a valid provisioning profile is required for product type 'Application' in SDK 'Device - iPhone OS 2.2.1'

I tried deleting the project and getting a newer version from another Mac. Same error message. I'm not sure what needs to be cleaned out to get rid of this.
brendand is offline   Reply With Quote
Old 03-13-2009, 12:59 AM   #9 (permalink)
Registered Member
 
brendand's Avatar
 
Join Date: Aug 2008
Posts: 222
Default

Ok, I finally got it working. Phew!

Had to edit the project.pbxproj file and delete all occurrences of the PROVISIONING_PROFILE lines

Then I reselected my provisioning profiles in my targets.


Quote:
Originally Posted by brendand View Post
I'm having the same issue with my app now. Ugh. My certificates recently expired and now I get the dreaded CodeSign error.

I regenerated my certificates and re-downloaded the provisioning profiles to no avail. This really sucks.

Any ideas?

Thanks,
brendand 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
» Stats
Members: 41,860
Threads: 49,768
Posts: 213,052
Top Poster: BrianSlick (3,138)
Welcome to our newest member, gustavo7sexton
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:52 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0