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
[bug] Fails to build on latest macOS setup (Big Sur) #88
Comments
Struggling with this, any help would be appreciated. From some forum threads, it seems like it may be related to From Xcode 12 release notes:
I also see some suggesting:
But I don't really know where to define that within this toolchain. Any suggestion? |
This has also been discussed in the CMake issue tracker and is currently tracked here and here (closed in favour of the first link). I have not yet encountered this myself, but try adding the following to your applicable CMakeLists.txt (untested): |
Adding It seems to me that the toolchain is not yet aware of arm macbooks, and therefore it could make sense to add that line until it does. What do you think? |
Yeah, i've followed the discussions in the CMake mailing lists/issue tracker and are currently waiting for any progress on their end to potentially solve this, but i can (for now) probably limit the inclusion of that excluded archs xcode setting to the toolchain if xcode version is above 12.0 and the CMake version is less than whatever version they add the fixes upstream. |
This commit includes a workaround for now: 6e9021a |
I have been using the toolchain for years now without issues. And recently, the github workflow stopped working. I believe they updated something on the machines. I tried to reproduce locally by updating to Big Sur, Xcode 12.2 and cmake 3.19.1, but clean builds would still work. After running
brew upgrade
, though, I started reproducing the error. So it seems to me that something has changed somewhere, and maybe there is a need for a fix in the toolchain.When running the configure step for
-DPLATFORM=SIMULATOR64
, I see the following, which seems fine (i.e. it is targeting iOS Simulator):But in the build step, I now receive a ton of those warnings, that I did not have before the update:
Which seems weird to me, because it just said that it would build for iOS Simulator. Why could it be complaining? Is there something to be done at the toolchain level?
Happy to try things on my different setups, I have been struggling for a while and I just don't know what to try anymore.
The text was updated successfully, but these errors were encountered: