Skip to content

Instantly share code, notes, and snippets.

View HEYGUL's full-sized avatar

GUL HEYGUL

  • Freelance
  • 15:32 (UTC +02:00)
View GitHub Profile
@HEYGUL
HEYGUL / resign.sh
Created December 7, 2012 14:22 — forked from RichardBronosky/resign.sh
A simple tool for resigning an iOS app ipa with a new certificate/mobileprovision
#!/usr/bin/env bash
if [[ ! ( # any of the following are not true
# 1st arg is an existing regular file
-f "$1" &&
# ...and it has a .ipa extension
"${1##*.}" == "ipa" &&
# 2nd arg is an existing regular file
-f "$2" &&
# ...and it has an .mobileprovision extension