-
-
Notifications
You must be signed in to change notification settings - Fork 465
[bug] Since upgrading to Xcode 16.3 all builds using this toolchain fail with clang: error: version 'arm64' in target triple 'arm64-apple-macosx11.0-arm64' is invalid
#219
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
Comments
I am also experiencing this issue |
try setting deployment target to 12.0 |
I'll see when I get some free time. This repo def needs some love since
Apple constantly makes undocumented changes that needs addressing. And I've
neglected this for far too long 😅
|
@leetal Thanks a lot for the reply :) I found this file to be so useful maybe I will dig into it and try to learn a bit more how this works :) |
Try this workaround, pretty sure it'd help: additionally pass |
Sorry I'm blind, I thought it's about ios xD As modern xcode no longer supports ios 11. arm64-apple-macosx11.0**-arm64** - the part in bold (suffix basically) is wrong and should be removed. But I've never used this toolchain for macos builds, so can't help, sorry. |
Thank you for the insight @kambala-decapitator, I will take a look :) |
Describe the bug
Since Xcode 16.3 any build using this toolchain file for PLATFORM=MAC_UNIVERSAL fails during configuration with
clang: error: version 'arm64' in target triple 'arm64-apple-macosx11.0-arm64' is invalid
. Looking through our CI logs, this was not a problem for Xcode 16.2. Cmake version is pinned by Nix so that is not an issue either.To Reproduce
Steps to reproduce the behavior:
-DPLATFORM=MAC_UNIVERSAL
Full output is
Environment
Cmake versions 3.30.5 and 4.0.0 (identical error)
Your faulty CMakeLists.txt here:
and c++ file
The text was updated successfully, but these errors were encountered: