/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install rbenv
rbenv install 2.7.5 # use rbenv v2.7.5
rben global 2.7.5 # set rbenv v2.7.5 as default
rbenv rehash
gem install bundler -v 2.4.22
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
. ~/.nvm/nvm.sh # activate nvm
nvm install 20.16.0 # we use v20.16.0
brew install watchman
npm install -g react-native-cli
npm install -g react-native
Install XCode
Install Cocoapods
brew install cocoapods
/.env
, /ios/Info.plist
files are required/
runyarn install
/ios
and runpod install
/
and runyarn start
By this, you can start the dev project via Ios simulator
First install Android Studio
Java 17 is required to run this project via Android simulator
To install Java 17, run
brew install openjdk@17
Change the ~/.zshrc
file by running
vim ~/.zshrc
Add the following lines at ~/.zshrc
# Android SDK Settings
export ANDROID_HOME=/your/path/to/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin
export JAVA_HOME="$(brew --prefix openjdk@17)" export PATH="JAVA_HOME/bin:$PATH"
- Run the following code at bash to apply
```bash
source ~/.zshrc
/
and run
yarn install
yarn start
By this, you can start the dev project via Android simulator