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 cle
The missing piece is using the PackageApplication utility.
/usr/bin/xcrun -sdk iphoneos PackageApplication -v $FULL_PATH_TO_APP -o $OUTPUT_PATH
You can also pass this script options for resigning, and profile embedding. Using the --sign and --embed flags respectively.
--sign
--embed