Make sure you have brew package manager installed:
NOTE: To successfully run the iOS e2e tests, it is essential to install the brew package manager.
How to install brew
Now install Watchman. Watchman is a tool by Facebook for watching changes in the filesystem. It is highly recommended you install it for better performance.
brew install watchmanIt is recommended to install a Node version manager such as nodenv, nvm, asdf
Install node version defined in the file .nvmrc
Ensure you are using the correct yarn version (yarn v1) as noted in the package.json.
Install Yarn using corepack (recommended)
corepack enable
# check yarn version
yarn --versionInstall Yarn V1 with NPM
npm install -g yarn
# check yarn version
yarn --version