Skip to content

Instantly share code, notes, and snippets.

@SergioEstevao
Last active August 29, 2015 13:58
Show Gist options
  • Save SergioEstevao/10006980 to your computer and use it in GitHub Desktop.
Save SergioEstevao/10006980 to your computer and use it in GitHub Desktop.
Build IPA with xcodebuild
# First build the archive
xcodebuild archive -scheme $SCHEME_NAME -archivePath $ARCHIVE_NAME
# Then export it to an IPA
xcodebuild -exportArchive -archivePath $ARCHIVE_NAME.xcarchive -exportPath $ARCHIVE_NAME -exportFormat ipa -exportProvisioningProfile "$PROVISIONING_PROFILE" -exportSigningIdentity "$DEVELOPER_NAME"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment