Skip to content

Instantly share code, notes, and snippets.

@adamzarn
Created August 5, 2020 02:47
Show Gist options
  • Save adamzarn/2721d722dc9e584133167eab98dc2b77 to your computer and use it in GitHub Desktop.
Save adamzarn/2721d722dc9e584133167eab98dc2b77 to your computer and use it in GitHub Desktop.
A fastlane resign wrapper
#!/bin/bash
# ipa -> "Path/to/app.ipa"
ipa=$1
# provisioning_profile -> "Path/to/profile.mobileprovision"
provisioning_profile=$2
# signing_identity -> Example: "iPhone Distribution: Team Name (ABCDEFGHIJK)"
signing_identity=$3
# bundle_id -> Example: "com.org.app"
bundle_id=$4
# bundle_version -> Example: "1"
bundle_version=$5
fastlane run resign \
ipa:"$ipa" \
signing_identity:"$signing_identity" \
provisioning_profile:"$provisioning_profile" \
bundle_id:"$bundle_id" \
bundle_version:"$bundle_version" \
use_app_entitlements:"true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment