Code Signing error after successful Distribution build???

Previous topic - Next topic

spicypixel

In my project settings I have the developer profile selected and I'm getting code signing errors however I didn't before using Build and Archive, validating successfully and then submitting my app to iTunes connect as a distribution build. When I check on iTunes connect the app status is Waiting for review which is fine.

However now I'm back in Xcode if I build and run I now get a code signing error even though in project settings the developer provisioning profile is selected which worked fine 2 minutes ago before I uploaded to iTunes connect.

Anyone know what this freaky business is?
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

Ian Price

That'll be Apple for you. They create such wonderful software... :(

Cue rant about Apple...
I came. I saw. I played.

MrTAToad

Its why I gave up developing anything for their products... :)

matchy

Quote from: spicypixel on 2011-May-20
Anyone know what this freaky business is?

Freaky as in wild party girl? Can you sign a new Xcode (non-GLB) "hello world" project?

spicypixel

Quote from: matchy on 2011-May-21
Quote from: spicypixel on 2011-May-20
Anyone know what this freaky business is?

Freaky as in wild party girl? Can you sign a new Xcode (non-GLB) "hello world" project?

Hi Matchy, I have no experience of using Objective C or of Xcode so wouldn't even know where to start to write even a simple "Hello World" project. I think the issue is on the provisioning portal to be honest. My reason for saying this is that the Distribution certificate profile is under the name of "Meryl Isherwood" my mum who paid for the account on my behalf and the Developer certificate profile is under "Marc Isherwood" (who doesn't exist by the way Apple decided to use this name which I can't amend). I originally setup the developer account as Marc Russell (my actual name) but ran into issues when I needed to pay for the iOS developer programme using my Mums bank details. The order wouldn't activate due to the discrepancies regarding verification so I altered all the developer details to correspond to my Mums details (PITA) even though I'm the developer. This still didn't work and I had to call Apple to activate manually.

To cut a long story short the dist prov profile is under the name of Meryl Isherwood in Xcode and so is the dev prov profile, but on the web portal it still says Marc Isherwood for the dev prov profile. Even with this discrepancy everything would codesign initially for the dev profile but after using the Organizer to validate and submit my app the dev profile now doesn't codesign regardless of whichever profile I select in project settings.

I can only presume after using Organizer and managing my app in iTunesConnect that Xcode has realised that Marc Isherwood and Meryl Isherwood are not the same lol. Also in the provisioning I have a tick by Meryl Isherwood and its a clickable link in dist but for the Marc Isherwood it's not clickable and there's no tick. Obviously I don't know if this is normal or whether it should be a clickable link because for me its never been any different.

I have now emailed Apple Tech Support to remedy this but I did this on 20/05/2011 and have had no reply as yet. To be fair if the issue is due to the developer name then they shouldn't take a tech support credit as this is effectively their error, Marc Isherwood does not exist for one and there is no way I can edit it or amend it for two, I simply have no control of the name that is automatically submitted by Apple.

Phew!
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

matchy

 O_O

dude, I have no idea what you are on about but none of your issues are GLB related.

:blink:

spicypixel

LOL I never said they were, was just seeing if anyone could help =)
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

BdR

If you just did a distribution build, then the active target is probably still set to "release" instead of "debug", which causes the error.

Just set the active target to debug (top left drop-down list) and it should work again. The provisioning profile you get from Apple only allows you to run debug builds on your device, not release builds.

(I know it's an old thread, but I ran into the same problem just now)

spicypixel

Thank you very much in the end I just put up with the error as it still sends it to my iDevice, you are a star!!!!
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.