Instantly share code, notes, and snippets.

Embed
What would you like to do?

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