arm64 not supported in macos image

Yevgeny Kazakov's Avatar

Yevgeny Kazakov

01 Jun, 2021 09:23 PM

Looks like the macos images suffer with the same problem as mentioned here:

Specifically, the headers located in

do not include the arm64 architecture, hence the builds are fail with "architecture is not supported".

Here is an example header:


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?

  1. 1 Posted by Yevgeny Kazakov on 02 Jun, 2021 12:54 PM

    Yevgeny Kazakov's Avatar

    Alternatively, using software update one can install MacOSX11.1.sdk

    softwareupdate --install -a

  2. Support Staff 2 Posted by Feodor Fitsner on 04 Jun, 2021 12:11 AM

    Feodor Fitsner's Avatar

    So, what is more acceptable solution?

  3. 3 Posted by Christian Filli... on 06 Jun, 2021 08:17 PM

    Christian Fillion's Avatar

    Building for ARM64 on AppVeyor works here. Try running `xcode-select -s /Applications/` first to use Xcode 12 (first version to support ARM64) instead of the command line tools.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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