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 v4.10.3) as noted in the package.json.
Install Yarn v4 using corepack (recommended)
corepack enable
# check yarn version (should show 4.10.3)
yarn --versionInstall Yarn v4 with NPM
npm install -g yarn@4.10.3
# check yarn version (should show 4.10.3)
yarn --versionUse project's bundled Yarn (no global install needed)
The project includes its own Yarn v4.10.3 binary at .yarn/releases/yarn-4.10.3.cjs. If you have any version of Yarn installed, the project will automatically use the correct version thanks to the .yarnrc.yml configuration.
# check yarn version (should show 4.10.3 when run from project directory)
yarn --version