- Node JS: >= 16
- Yarn >= 1.22
- Cocoapods: >= 1.12.1
- Xcode: >= 14.0
- Android Studio: >= 2022.2.1
- JavaJDK: >= 11.0.16.1
- iOS: >= 11
- Android: >= 7.0
- Install android simulator in the android studio
- Goto the project folder and open the terminal
- Run following commands in the project root
yarn install
yarn pod:install
1- Open the terminal in the project root and run
yarn start
2- Open another terminal in the project root and run
yarn android
1- Open the terminal in the project root and run
yarn start
2- Open another terminal in the project root and run
yarn ios
Steps to update Cocoapods
sudo gem install cocoapods
rm -rf ~/Library/Developer/Xcode/DerivedData/*
cd ios
rm -Rf Pods; pod install
Fix Xcode not opening
- Delete
Podfile.lock
filerm -r ios/Podfile.lock
- Delete Pods directory
sudo rm -r ios/Pods
- Delete
WatsonMvp.xcworkspace
filerm -r ios/WatsonMvp.xcworkspace
- Install packages
yarn install
- Install Pods
cd ios; pod install; cd ..;