I'd like to have a compiler for ARM on my Mac, and I read somewhere that there is a way to run and maybe debug ARM code on Xcode. Anyone has any hint on how I should do or if it is even possible? Any other solution for ARM on Mac? Thanks

  • Please complete your question by specifying what kind of ARM do you need - if it is about Cortex or similar, aka embedded - there are possible some other solutions than that in the response below. See for example this: embedxcode.weebly.com.
    – Yoan
    Oct 26 '17 at 10:08

Running ARM code on macOS

See How to emulate an ARM architecture under OSX 10.6 (“Snow Leopard”)? The answers to this question include suggestions for:


QEMU is a generic and open source machine emulator and virtualizer.

QEMU can be installed from Homebrew: brew install qemu


Skyeye is a multi-architecture, multi-core, and highly scalable hardware simulation platform. Cur- rently it is implemented by the core library libcommon.so and a series of plug-ins based on the composition of the core library. SkyEye supports the system structure of ARM, Blackfin, Coldfire, PowerPC, MIPS, SPARC and x86.

Skyeye may be no longer under active development.

Cross Compiling ARM with Xcode

Getting Xcode to correctly cross-compile non-iOS device ARM code on the Mac appears to be possible, if tricky. You may find focusing on command line compiling easier.


embedXcode is a template for Xcode, Apple's official IDE on Mac, and eases development for the most popular embedded computing boards.

embedXcode grid of supported hardware

Alternative Approaches

  • not a fare procedure, at least you can specify the source...👎
    – Yoan
    Oct 26 '17 at 10:44
  • @yoan Which source are you referring to?
    – nohillside
    Oct 26 '17 at 10:56
  • @yoan, I mentioned you in the edit comments to this question; see the answer's edit history. You always have the ability to edit this answer or add your own answer. Oct 26 '17 at 11:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .