Created
September 9, 2019 19:05
-
-
Save ronal2do/53f09bf3d61f0a9d62954678220cdc70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'remove cache' | |
rm -rf $TMPDIR/react-* | |
rm -rf $TMPDIR/metro-* | |
watchman watch-del-all | |
npm cache verify | |
# echo 'removing derived data' | |
rm -rf ~/Library/Developer/Xcode/DerivedData | |
echo 'removing pods and node modules' | |
cd ios | |
pod deintegrate | |
pod cache clean --all | |
cd ../ | |
rm -rf ios/Pods | |
rm -rf ios/Podfile.lock | |
rm -rf ios/build | |
rm -rf node_modules | |
rm -rf package-lock.json | |
echo 'cocoapods install' | |
gem install cocoapods | |
echo 'brew' | |
brew update && brew upgrade | |
echo 'installing node modules' | |
npm i | |
# mostly for any legacy stuff | |
echo 'react-native link' | |
react-native link | |
echo 'installing pods' | |
cd ios | |
pod update | |
pod install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment