Skip to content

Instantly share code, notes, and snippets.

@eduzera
Last active March 18, 2019 14:06
Show Gist options
  • Save eduzera/83ec72e46a00f569aefd2b3b36c365f6 to your computer and use it in GitHub Desktop.
Save eduzera/83ec72e46a00f569aefd2b3b36c365f6 to your computer and use it in GitHub Desktop.
iResign - Error

It is an intermittent bug in iResign which causes it to include entitlments.plist in application bundle. It is not even plist file but a dump of entitlements keys/values.

Here is a workaround, which SHOULD work:

Extract the ipa into a directory. Assuming your app is named as MyApp.ipa

$ mkdir extract
$ unzip -qo MyApp.ipa -d extract

You will notice the entitlements.plist at root of extract directory.

$ cd extract
$ ls

BCSymbolMaps Payload SwiftSupport Symbols entitlements.plist

Delete the entitlements.plist and repackage your ipa

$ rm entitlements.plist
$ zip -ry ../CelleraDesenvolveDist-resigned-fixed.ipa .

After this, try submitting the MyApp.Fixed.ipa thru Application Loader. PM me if you have any resigning issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment