Skip to content

Instantly share code, notes, and snippets.

@sandeeplearner
Created December 3, 2017 20:38
Show Gist options
  • Save sandeeplearner/4b67343e19b91bb612929e244e23c986 to your computer and use it in GitHub Desktop.
Save sandeeplearner/4b67343e19b91bb612929e244e23c986 to your computer and use it in GitHub Desktop.
concatenated command
security unlock-keychain -p "your_system_password" ~/Library/Keychains/login.keychain-db && xcodebuild -workspace your_project.xcworkspace/ -scheme your_project_schema -sdk iphoneos -configuration "${CONFIGURATION}" archive -archivePath /Users/Shared/Jenkins/Documents/build/your_project.xcarchive PROVISIONING_PROFILE="${PROVISION_PROFILE}" && xcodebuild -exportArchive -archivePath /Users/Shared/Jenkins/Documents/build/your_project.xcarchive/ -exportPath ~/Desktop/ -exportOptionsPlist ExportOptions.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment