arm64 not supported in macos image
Looks like the macos images suffer with the same problem as mentioned here:
Specifically, the headers located in
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/
do not include the arm64 architecture, hence the builds are fail with "architecture is not supported".
Here is an example header:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/signal.h
The solution, as discussed in the thread above, is to completely remove the SDKs folder:
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
After that I was able to build the project.
Should, perhaps, the SDKs be completely removed from the images?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Yevgeny Kazakov on 02 Jun, 2021 12:54 PM
Alternatively, using software update one can install MacOSX11.1.sdk
softwareupdate --install -a
Support Staff 2 Posted by Feodor Fitsner on 04 Jun, 2021 12:11 AM
So, what is more acceptable solution?
3 Posted by Christian Filli... on 06 Jun, 2021 08:17 PM
Building for ARM64 on AppVeyor works here. Try running `xcode-select -s /Applications/Xcode-12.3.app` first to use Xcode 12 (first version to support ARM64) instead of the command line tools.