 |
 |
|
 |
02-02-2009, 04:11 PM
|
#1 (permalink)
|
|
Magic Hands' Daddy
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 22
Posts: 2,029
|
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'
|
|
|
02-02-2009, 04:13 PM
|
#2 (permalink)
|
|
Registered Member
Join Date: Jan 2009
Posts: 18
|
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.
|
|
|
02-02-2009, 04:17 PM
|
#3 (permalink)
|
|
New Member
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
|
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.
|
|
|
02-02-2009, 04:51 PM
|
#4 (permalink)
|
|
Magic Hands' Daddy
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 22
Posts: 2,029
|
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?
|
|
|
02-02-2009, 04:56 PM
|
#5 (permalink)
|
|
New Member
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
|
Verify which cert is configured for a Release build. It's possible it's using a different, non-expired cert.
|
|
|
03-01-2009, 05:14 PM
|
#6 (permalink)
|
|
Registered Member
Join Date: May 2008
Posts: 583
|
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?
|
|
|
03-03-2009, 08:45 PM
|
#7 (permalink)
|
|
New Member
Join Date: Mar 2009
Posts: 1
|
CodeSign error in one device debug project
Quote:
Originally Posted by tkilmer
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.
|
|
|
03-13-2009, 12:17 AM
|
#8 (permalink)
|
|
Registered Member
Join Date: Aug 2008
Posts: 222
|
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
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.
|
|
|
|
03-13-2009, 12:59 AM
|
#9 (permalink)
|
|
Registered Member
Join Date: Aug 2008
Posts: 222
|
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
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,
|
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 380 |
| 26 members and 354 guests |
| AdamSubach, airsoft808, anonymous@, benoitr007, bensj, Danneman, Duncan C, gtyt38, gustavo7sexton, HemiMG, Jeremy1026, lifeCoder45, maxus182, mox, Ovidius, Paul10, pofak, raheel, Sega dude, squidboy, timle8n1, ufbobbo, ultrayard077, ZunePod |
| Most users ever online was 965, 06-30-2010 at 04:26 AM. |
» Stats |
Members: 41,860
Threads: 49,768
Posts: 213,052
Top Poster: BrianSlick (3,138)
|
| Welcome to our newest member, gustavo7sexton |
|