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.)
-
Expand the
.ipa
archive:ditto -xk UnifiedSingleViewIphone1.ipa ./original
-
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