Resign an IPA file including frameworks

Run these commands from the terminal in the folder where you have YOUR_IPA.ipa file.

  1. unzip -q YOUR_IPA.ipa
  2. rm -rf Payload/
  3. rm -rf Payload/
  4. codesign -f -s “iPhone Distribution: XXX (XXXX)” Payload/
  5. security cms -D -i PRODUCTION.mobileprovision > pr.plist
  6. /usr/libexec/PlistBuddy -x -c ‘Print :Entitlements’ pr.plist > YOUR_Plist.plist
  7. codesign -f -s “iPhone Distribution: XXX (XXXX)” –entitlements YOUR_Plist.plist Payload/
  8. zip -qr ResignedApp.ipa Payload SwiftSupport Symbols

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s