Skip to content

Instantly share code, notes, and snippets.

@brendanzagaeski
Created September 19, 2015 05:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brendanzagaeski/808c337259c5fccbaeae to your computer and use it in GitHub Desktop.
Save brendanzagaeski/808c337259c5fccbaeae to your computer and use it in GitHub Desktop.

The following steps are commands to run in a Terminal.app command prompt. The first step assumes that you have already changed directory with the cd command into the directory that contains the .ipa file (UnifiedSingleViewIphone1.ipa in this example.)

  1. Expand the .ipa archive:

    ditto -xk UnifiedSingleViewIphone1.ipa ./original

  2. Add back the symbolic link, overwriting the incorrect non-linked version of the file:

    ln -fs ../.monotouch-64/UnifiedSingleViewIphone1.exe original/Payload/UnifiedSingleViewIphone1.app/.monotouch-32/UnifiedSingleViewIphone1.exe

  3. Re-archive the result into a new .ipa file:

    ditto -ck original UnifiedSingleViewIphone1_new.ipa

  4. You can now upload UnifiedSingleViewIphone1_new.ipa to HockeyApp (or any other desired destination).

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