Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
iOS automated deploy
xcodebuild \
-workspace Runner.xcworkspace \
-scheme Runner \
-sdk iphoneos \
-configuration Release archive \
-archivePath $PWD/build/Runner.xcarchive
xcodebuild \
-exportArchive \
-archivePath $PWD/build/Runner.xcarchive \
-exportOptionsPlist ExportOptions.plist \
-exportPath $PWD/build/Runner.ipa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>MyTeamID</string> <!-- your team ID, something like "AB12C345DE" -->
<string>manual</string> <!-- sets the signing process as manual -->
<string>Apple Distribution</string> <!-- or another Signing Certificate like "iOS Distribution" -->
<key></key> <!-- your app id -->
<string>MyAppProfile</string> <!-- the profile you're using to compile and deploy -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment