Jan. 3rd, 2010

boutell: (Default)
The iphone store app upload process is a mess.

Here are some quick notes to save myself and other devs some trouble when they are almost at the finish line and run into Apple Code Signing Hell. I am assuming you already watched Apple's how-to video and have done the basic (yet quite difficult) things like generating all of your certificates and provisioning profiles and etc. You've done everything right but Apple still rejects your uploads. You see:

“Application failed codesign verification. Please see the console log for additional details"

Or:

"The signature was invalid, or it was not signed with an Apple submission certificate."

So try these steps:

1. Clear the XCode Cache. The menu option for this is on the XCode menu (that is, to the left of the File menu). Then do a "clean all targets" and a "build." Do that early and often, actually. Without clearing the XCode Cache you can wind up signing your app with a provisioning profile intended for one of your other apps. I don't know why.

2. Try this command (assuming your app is called geek.app and you're in the distribution subdir of your build dir):

codesign --verify -vvvv geek.app

If you get errors, you don't have your provisioning certificates set up right. Fix your settings on the "build" tab.

3. DON'T use command line "zip" to create geek.zip from geek.app. For reasons that don't seem at all adequate to me, iTunes Connect will reject it with an inscrutable error complaining about your signing identities. You MUST use the "Compress" option in the Finder.

I wasted four hours of my life today figuring out #1 and #3, and this is not my first iPhone app. Apple, please take steps to make this process less painful. Thank you.

(Oh yeah: Geek, Game of Champions! is now in the App Store approval queue. Whee!)

September 2014

S M T W T F S
 123456
78910111213
14151617181920
2122232425 2627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 17th, 2017 10:16 pm
Powered by Dreamwidth Studios