Building, Archiving, and Submitting Your App
Xcode has significantly improved workflows to help you build, package, and prepare your application for distribution. Discover the best practices for handing your iOS and OS X application to beta testers, see how to validate your app bundle and submit it to the App Store, and get ready for Gatekeeper by learning how to sign your Mac application with Developer ID.
WWDC 2012 - Session 414 - iOS, macOS