Skip to content

Instantly share code, notes, and snippets.

@Clafou
Created March 30, 2022 12:54
Show Gist options
  • Select an option

  • Save Clafou/6cfa71c466bccbcdbff5261e98b11371 to your computer and use it in GitHub Desktop.

Select an option

Save Clafou/6cfa71c466bccbcdbff5261e98b11371 to your computer and use it in GitHub Desktop.
Simplified command line usage of Transporter (Apple's tool for managing App Store Connect metadata)
# Download Transporter by Apple from the Mac App Store
# Then one-time init on your computer to store your login in keychain.
# (Don't use your main account, create one in App Store Connect with role App Manager!)
security add-generic-password -a "$USER" -s 'Transporter Username' -w '<App Store Connect email>'
security add-generic-password -a "$USER" -s 'Transporter Password' -w '<App Store Connect password>'
# Then:
alias Transporter="/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter -u '$(security find-generic-password -s 'Transporter Username' -w)' -p '$(security find-generic-password -s 'Transporter Password' -w)'"
# And (optional, used in examples below, replace it with your own Apple-assigned App ID)
APPID=424537550
# Usage:
# To download from Apple:
Transporter -m lookupMetadata -apple_id $APPID -destination .
# To verify:
Transporter -m verify -f $APPID.itmsp
# To upload:
Transporter -m upload -f $APPID.itmsp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment