- Make sure you have installed XCode from the App store
- Select xcode version from appstore:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
- Confirm by running
xcodebuild -version
- Install GCC 12
brew install gcc@12
- Create a symlink to your usr/local/include folder to make includes discoverable:
sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/* /usr/local/include/
Created
April 30, 2024 01:52
-
-
Save deanmlittle/652f0bf232773dbd5e8b0621ca15a304 to your computer and use it in GitHub Desktop.
Fix Anchor build on Mac M3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment