Tip: Build and Archive

Just in case you missed this in the release notes for the iPhone SDK 3.2 which is final now so go download it, Xcode 3.2.2 has a handy-dandy new ‘Build and Archive’ command which will place your app and .dSYM into ~/Library/Mobile Device/Archived Applications, and list it in a new ‘Archived Applications’ entry under ‘iPhone Development’ in the Organizer window; from where you can run Apple’s initial validation checks if its metadata is on iTunes Connect, submit it directly, or hit the shiny new ‘Share Application…’ button, which will let you either save somewhere or email directly an .ipa file signed with your certificate of choice.

So, with any luck, it’s goodbye forever to those pesky ad hoc build distribution problems, and without needing to resort to workarounds like dsym-archiver. W00t!

Alex | April 3, 2010
  • Henning April 21, 2010 at 8:55 am
    I don't understand the use of the 'Share Application...' feature. It creates a .ipa file, but does not include the provisioning profile. So I still need to bundle that up to send to my testers. So this feature is useless. What am I missing?
  • Alex April 21, 2010 at 9:38 am
    You're missing that, for instance, - you can arbitrarily resign it without resorting to the codesign command line tool - The ad hoc ipas it makes work reliably on Windows systems and display the icon as intended, which was not previously something that could be counted on unconditionally - It keeps your builds and .dSYMs neatly organized for symbolification which add up for me to a considerable degree of usefulness.

Leave a Reply