Skip to content

Instantly share code, notes, and snippets.

@EricWiener
Created February 18, 2021 03:39
Show Gist options
  • Save EricWiener/11c28f63b9c687495eb67d797f902172 to your computer and use it in GitHub Desktop.
Save EricWiener/11c28f63b9c687495eb67d797f902172 to your computer and use it in GitHub Desktop.
Clean out an XCode cache (React Native w/ Cocoapods)
#!/bin/bash
# This should be run from the /ios directory of your project
rm Podfile.lock
rm -rf Pods
rm -rf ~/Library/Caches/CocoaPods
rm -rf ~/Library/Developer/Xcode/DerivedData
pod cache clean --all
pod install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment