Skip to content

Instantly share code, notes, and snippets.

@samma835
Created December 23, 2015 07:21
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save samma835/b28491c80cbe679750b1 to your computer and use it in GitHub Desktop.
Save samma835/b28491c80cbe679750b1 to your computer and use it in GitHub Desktop.
How to convert .xcarchive to .ipa
xcodebuild -exportArchive -exportFormat ipa -archivePath {PATH}/MyApp.xcarchive -exportPath ~/Desktop/MyApp.ipa
@qntbkk
Copy link

qntbkk commented Jul 15, 2020

xcodebuild: error: invalid option '-exportFormat'

@itrunks
Copy link

itrunks commented Jan 20, 2021

xcodebuild -exportArchive -archivePath FileName.xcarchive -exportPath -exportOptionsPlist /tmp/ExportOptions.plist
Generate ExportOption based on your release type (distribution, appstore, adhoc etc.,)
/tmp/ExportOptions.plist = plist path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment