Please add support for inserting/removing the LC_VERSION_MIN_MACOSX load command
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.
+1
+1 on iOS
did you ever find a way of achieving this @themasterchef ?
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.