Skip to content

Instantly share code, notes, and snippets.

@skabber
Created May 11, 2015 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skabber/54685370b0a26617129f to your computer and use it in GitHub Desktop.
Save skabber/54685370b0a26617129f to your computer and use it in GitHub Desktop.
xcodebuild -scheme ${SCHEME} -target ${TARGET} -configuration ${CONFIGURATION} archive -archivePath $PWD/${TARGET}_${CONFIGURATION}_${BUILD_NUMBER}
xcrun -v -sdk iphoneos PackageApplication -v `pwd`'/'${TARGET}'_'${CONFIGURATION}'_'${BUILD_NUMBER}'.xcarchive/Products/Applications/'${TARGET}'.app' -o `pwd`'/'${TARGET}'_'${CONFIGURATION}'_'${BUILD_NUMBER}'.ipa'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment