Bloody hell I’ve just spend more than two hours trying to figure out why Xcode won’t publish to my iPhone.
Tried everything - started with our checklist published earlier then lots of ritual dancing and read two big manuals by other guys:
http://www.24100.net/2009/02/iphone-sdk-mobile-provisioning-0xe800003a-0xe8000001/
http://www.codza.com/how-to-fix-iphone-code-signing-errors
Finally - being 100% sure everything is set up properly - used the idea of “Clean all” from the last link - and it worked! Nothing has been changed, I just quit the Xcode and removed everything from “Build” folder of my app! Then started it again, hit “Build” button and it worked!
Apple is evil. Thousands of developers spend hours losing time with all code signing thing. These lines from codza is one good example:
I was on a roll, all done in 30 minutes. A quick look at the clock: 11:30pm. I’ll quickly package it all up, submit my update, and pick out a dark comedy on Netflix instant watch…
Little did I know that for the next two hours I will be beaten, cubed and ground into hamburger meat by Apple engineering’s probably most ingenious attempt to one up Turing’s theory of the “halting problem”: code signing.