From b02aa51e0944b6bfe5eb99aed8b794d6556e33f8 Mon Sep 17 00:00:00 2001 From: paxcut <53811119+paxcut@users.noreply.github.com> Date: Sun, 4 May 2025 21:19:29 -0700 Subject: [PATCH] fix: macos builds Found post on s.o. about c++ headers not being found when using llvm clang installed using homebrew [here](https://stackoverflow.com/questions/77250743/mac-xcode-g-cannot-compile-even-a-basic-c-program-issues-with-standard-libr) and when I tested the proposed solution in my imhex fork the macos x86 builds were able to complete. --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f1623d7a9..27c18a543 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -345,6 +345,9 @@ jobs: restore-keys: ${{ runner.os }}${{ matrix.suffix }}-ccache max-size: 1G + - name: Set Xcode version + run: sudo xcode-select -s /Library/Developer/CommandLineTools + - name: ⬇️ Install dependencies env: # Make brew not display useless errors