Ensure to install Xcode Command Line Tools.A Mac device is required to build projects with native code for macOS.You can follow the steps at Setting up the development environment in the 'React Native CLI Quickstart' section, or follow the paraphrased steps below: macOS Development Dependencies The development dependencies for React Native for macOS are identical to the development dependencies for React Native for iOS. You can run React Native for macOS apps on Mac devices with versions High Sierra (10.13) or newer.