Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -x
- # codesigning and provisioning profile should be configured using Xcode
- PROJECT=AFiPad
- SCHEME=${PROJECT} # Setting project name as the default scheme. Update based on your scheme
- ARCHIVEPATH=`pwd`/archive
- IPA_NAME=${PROJECT}
- PROJECT_BUILDDIR=${ARCHIVEPATH}/${IPA_NAME}.xcarchive/Products/Applications
- xctool -project ${PROJECT}.xcodeproj -scheme ${SCHEME} archive -archivePath "${ARCHIVEPATH}/${IPA_NAME}"
- xcrun -sdk iphoneos PackageApplication -v "${PROJECT_BUILDDIR}"/*.app -o "${ARCHIVEPATH}/${IPA_NAME}.ipa"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement