We use xcode 10.1 and encourage you to use the same version. We have pinned the compiler and MacOS SDK on the build bots to make sure we do not encounter unexpected issues.
Throughout the emulator code base and documentation we ofter refer to MacOS as Darwin. This document describes how to get started with emulator development under MacOS.