How to create a React Native application on macOS.

ZeroesAndOnes
7 min readAug 28, 2021

In this article I will show you how to start a barebone jdReact Native application on macOS. The article will provide detailed step-by-step instructions demonstrating how to install the proper dependencies needed for React Native as well as how to start a barebone project.

What are the dependencies needed?

Before you are able to start developing using React Native the following dependencies must be installed for macOS:

  1. Node — allows developers to write JavaScript code that runs directly in a computer process itself instead of in a browser.
  2. Watchman — exists to watch files and record when they change. It can also trigger actions (such as rebuilding assets) when matching files change
  3. React Native CLI — provides you with the react-native init command, this generates a plain react native project for you with separate native projects for iOS and Android platforms.
  4. Xcode — is Apple’s integrated development environment for macOS, used to develop software for macOS, iOS, iPadOS, watchOS, and tvOS.
  5. CocoaPods — is an application level dependency manager for Objective-C, Swift and any other languages that run on the Objective-C runtime, such as RubyMotion, that provides a standard format for managing external libraries.

1. Install dependencies

--

--

Responses (1)