Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add support for inserting/removing the LC_VERSION_MIN_MACOSX load command #7

Open
chriskilding opened this issue Sep 5, 2016 · 3 comments

Comments

@chriskilding
Copy link

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.

@NSExceptional
Copy link

+1

@rustymagnet3000
Copy link

rustymagnet3000 commented Mar 10, 2018

+1 on iOS

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

@chriskilding
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants