Skip to content

Instantly share code, notes, and snippets.

@claui
Last active September 5, 2024 09:34
Show Gist options
  • Save claui/8f9756e7b65c5f51cb5174159a1042ce to your computer and use it in GitHub Desktop.
Save claui/8f9756e7b65c5f51cb5174159a1042ce to your computer and use it in GitHub Desktop.
How to install Jonathan Levin’s jtool2 on macOS 11.0 (Apple Silicon)
# Copy and paste the following snippet, including brackets, into the Terminal
(
set -e;
cd "$(mktemp -d)"
curl -LO 'http://www.newosxbook.com/tools/jtool2.tgz'
tar -x -f jtool2.tgz
lipo jtool2 -thin x86_64 -output jtool2.x86_64
lipo disarm -thin x86_64 -output disarm.x86_64
sudo mkdir -p /usr/local/bin
sudo cp jtool2.x86_64 /usr/local/bin/jtool2
sudo cp disarm.x86_64 /usr/local/bin/disarm
)
@hartescout
Copy link

Nice!
I used brew and then xattr -d com.apple.quarentine to run it. Not sure if it's the best way. What you have looks a lot better.

@claui
Copy link
Author

claui commented Jun 9, 2021

Thanks @hartescout. Yours is the better and easier way!

Mine was meant as a workaround for a very early Big Sur beta, which would pick the iOS slice, then crash. Hence the workaround. It’s certainly meaningless now ☺️

@excitedplus1s
Copy link

https://github.com/excitedplus1s/jtool2
support macOS(Apple Silicon and Intel)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment