My experience with submitting HelTweetica to the Mac App Store has been a bit frustrating. So here’s a cheat sheet of things I had to do which aren’t documented anywhere:
If the “Build & Archive” menu item is dimmed out or disabled, you’ll need to download and install the Xcode 3.2.5 GM that is on the Mac Dev Center page, and not the one with the iOS SDK that’s on the iOS Dev Center page. Why this makes a difference, even though the version and build numbers are the same in the About Xcode box, I don’t know. I ended up installing Xcode on a different computer in the default Developer directory just to remove any variables.
Make sure your Debug Information Format is set to DWARF with dSYM File. This might also cause Build & Archive to be unavailable.
You need to set the CFBundleVersion (the app’s version number) to a 3-part string such as 1.2.3. It can’t be a 4-part string (18.104.22.168) since that will fail validation with the message “This bundle is invalid. The key CFBundleVersion in the Info.plist file must be a period-separated list of positive integers.” Which has absolutely no mention of how many items can be in that list. Also, it’s not clear whether zero is allowed.
You need to set the Architectures (ARCHS) build setting manually by typing in “i386 x86_64”. None of the popup options will work (except 64-bit only). If you select either of the options which include 32-bit Universal, it’ll include PPC code in your binary, even if you change the Valid Architectures (VALID_ARCHS) setting to exclude PPC. And if you have PPC code in your binary, you’ll get an “Invalid Binary” error after you upload and submit your binary to iTunes Connect.
So to summarize:
Use the version of Xcode 3.2.5 from the Mac Dev Center.
Use the DWARF with dSYM File debug information format.
Use a 3-part CFBundleVersion.
Set the Architectures to “i386 x86_64”.