Skip to content

Instantly share code, notes, and snippets.

@mluton
mluton / re-sign-ipa.sh
Last active April 19, 2016 17:24 — forked from idy/re-sign-ipa.sh
Use codesign re-sign swift app
#!/bin/sh
# Usage: ./sign.sh INPUT.ipa OUTPUT PROVISION.mobileprovision IDENTITY_NAME ENTITLEMENTS BUNDLEID
# Reading parameters
INPUT=$1
OUTPUT=$2.ipa
MOBILE_PROVISTION=$3
CER_NAME=$4
ENTITLEMENTS=$5
BUNDLEID=$6