Setting Up Tooling
Here's a step-by-step guide to setting up the tooling needed for React Native and Expo development. This is a prerequisite for setting up the NativeExpress project.
If you already have everything set up, you can skip this section.
For more detailed information on setting up your development environment, please refer to the official Expo documentation (opens in a new tab).
Prerequisites
Before you begin, ensure you have the following installed on your system:
- Node.js (opens in a new tab) (version 14 or later)
- Yarn (opens in a new tab)
- Git (opens in a new tab)
- homebrew (opens in a new tab)
Tooling Setup
iOS Setup: This section covers the installation and configuration of tools needed for iOS appdevelopment.
Install XCode
Download (or update) XCode (opens in a new tab) from the Mac App Store
Install XCode Command Line Tools
Open Xcode and go to Settings (or press cmd ⌘ + ,). In the Locations tab, select the latest version from the Command Line Tools dropdown menu.
Install Watchman
Watchman is a tool for watching changes in the filesystem. Installing it will result in better performance. You can install it with:
brew update && brew install watchman
Install EAS CLI
EAS CLI is needed to build your app. You can install it with:
npm install -g eas-cli
Create an Expo account and login
You can create an Expo account here (opens in a new tab). Once you have an account, you can login in the terminal with:
eas login
Now you're ready to setup the project!