Skip to content

Instantly share code, notes, and snippets.

@bernard-wagner
Created August 1, 2017 16:19
Show Gist options
  • Save bernard-wagner/c239a9c463f93bddb68bbb07bfa4063d to your computer and use it in GitHub Desktop.
Save bernard-wagner/c239a9c463f93bddb68bbb07bfa4063d to your computer and use it in GitHub Desktop.
xcodebuild-export-ipa
#clean project
xcodebuild clean -project ProjectPath/myApp.xcodeproj -configuration ReleaseAdhoc -alltargets
#export archive
xcodebuild archive -project ProjectPath/myApp.xcodeproj -scheme “myApp” -archivePath pathForArchiveFolder/myApp.xcarchive
#export ipa
xcodebuild -exportArchive -archivePath ProjectPath/myapp.xcarchive -exportPath projectPath/myApp.ipa -exportOptionsPlist ProjectFolder/exportPlist.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment