Distribution & Code Signing
To put it simply, it sucks.
I'm not talking about philosophical aspects here, I mean the implementation. Apple did a shitty job on this stuff. Anytime I want to build an app for distribution, I lose a day trying to get the damn thing to build right. And it's not that I don't know what I'm doing... I follow the directions exactly, try every logical (and some illogical) permutations of those instructions, and it always takes me many tries to get it to work.
For me, Xcode is prone to not recognizing provisioning profiles, or finding the wrong ones, and the build instructions often simply don't work. When I build for distribution, for example, I cannot use "iPhone Distribution: Jeff LaMarche" for my identity as the instructions say, I have to use just my name in order to be able to select a provisioning profile. And then, I have to delete my developer cert because using just my name is ambiguous and it can't figure out which of the two certs to use, and there's no way to select which one it should use.
Now I'm going through this damn hassle to do an ad hoc distribution to try and send a a work-in-progress app to a client, and even when I do finally get it to build using the right provisioning and cert, it won't install (through either iTunes or Xcode), saying the app couldn't be verified.
I'm about ready to throw something across the god damned room.
|