optool icon indicating copy to clipboard operation
optool copied to clipboard

Please add support for inserting/removing the LC_VERSION_MIN_MACOSX load command

Open chriskilding opened this issue 9 years ago • 3 comments

Hi there

I need to do some slightly grim Mach-O header hacking on some precompiled binaries I've been given in order to make Xcode deal with them properly.

It would be great if optool had support for inserting/removing the LC_VERSION_MIN_MACOSX load command - that would be the simplest path to getting those binaries working with Xcode (although perhaps not the cleanest!).

If you're feeling generous, support for LC_VERSION_MIN_IPHONEOS might be an extra bonus for our iOS developer friends.

chriskilding avatar Sep 05 '16 19:09 chriskilding

+1

NSExceptional avatar Jan 30 '17 08:01 NSExceptional

+1 on iOS

did you ever find a way of achieving this @themasterchef ?

rustymagnet3000 avatar Mar 10 '18 13:03 rustymagnet3000

In the end I dug up the source of the binaries I was trying to modify, and recompiled it on a newer tool chain for the macOS target that I needed. This turned out to be less effort than binary modification in my case.

chriskilding avatar Mar 20 '18 18:03 chriskilding