You can run React Native for macOS apps on Mac devices with versions Mojave (10.14.6) or newer.
The development dependencies for React Native for macOS are identical to the development dependencies for React Native for iOS. 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
- A Mac device is required to build projects with native code for macOS.
- Install Xcode version 11.3.1 or newer.
- Ensure to install Xcode Command Line Tools. Open Xcode, then choose "Preferences..." from the Xcode menu. Go to the Locations panel and install the tools by selecting the most recent version in the Command Line Tools dropdown.
- Install CocoaPods
sudo gem install cocoapods