Generating ipa from xcode command-line
Whats the best approach for generating an IPA file from command-line? I'm on xcode 4.2 and generating the archive using: xcodebuild -scheme AppStore clean archive This generates the .dSYM and .app files in the build output directory, after codesigning. How should I proceed to generate the .ipa file? In other words, I'm looking for the command-line equivalent of doing the following in GUI Organizer - Archives Share iOS App Store Package Don't Re-sign Thanks! The missing piece is using the PackageApplication utility. /usr/bin/xcrun -sdk iphoneos PackageApplication -v $FULL_PATH_TO_APP -o $OUTPUT