clear pod cache in react native

Working with React Native can sometimes be tricky. Sometimes you encounter unexpected errors, at other times your code just won’t compile or run in the iOS simulator.

Here are a few tricks you can try.

cd ios
rm -rf ~/Library/Caches/CocoaPods
rm -rf Pods
rm -rf ~/Library/Developer/Xcode/DerivedData
pod deintegrate
pod setup
pod install

React Native App Intro Slider

Kick-start your mobile app development project with pre-built templates

One thought on “How to Clear Pod Cache in React Native”

Leave a Reply

Your email address will not be published. Required fields are marked *