tag:help.appveyor.com,2012-11-13:/discussions/problems/29577-arm64-not-supported-in-macos-imageAppVeyor: Discussion 2021-06-06T20:17:45Ztag:help.appveyor.com,2012-11-13:Comment/492268762021-06-01T21:23:15Z2021-06-01T21:23:18Zarm64 not supported in macos image<div><p>Looks like the macos images suffer with the same problem as mentioned here:</p>
<p><a href="https://travis-ci.community/t/osx-image-xcode12-2-does-not-come-with-macos-11-sdk-no-way-to-compile-for-arm/10611">https://travis-ci.community/t/osx-image-xcode12-2-does-not-come-wit...</a></p>
<p>Specifically, the headers located in<br>
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/</p>
<p>do not include the arm64 architecture, hence the builds are fail with "architecture is not supported".</p>
<p>Here is an example header:</p>
<p>/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/signal.h</p>
<p>The solution, as discussed in the thread above, is to completely remove the SDKs folder:</p>
<p>sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*</p>
<p>After that I was able to build the project.</p>
<p>Should, perhaps, the SDKs be completely removed from the images?</p></div>Yevgeny Kazakovtag:help.appveyor.com,2012-11-13:Comment/492268762021-06-02T12:54:16Z2021-06-02T12:54:20Zarm64 not supported in macos image<div><p>Alternatively, using software update one can install MacOSX11.1.sdk</p>
<p>softwareupdate --install -a</p></div>Yevgeny Kazakovtag:help.appveyor.com,2012-11-13:Comment/492268762021-06-04T00:11:31Z2021-06-04T00:11:31Zarm64 not supported in macos image<div><p>So, what is more acceptable solution?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/492268762021-06-06T20:17:41Z2021-06-06T20:17:45Zarm64 not supported in macos image<div><p>Building for ARM64 on AppVeyor works here. Try running <code>xcode-select -s /Applications/Xcode-12.3.app</code> first to use Xcode 12 (first version to support ARM64) instead of the command line tools.</p></div>Christian Fillion