Skip to content

Instantly share code, notes, and snippets.

@mikeest1972
Forked from mbinna/podforceupdate.sh
Last active April 8, 2022 22:46
Show Gist options
  • Save mikeest1972/b505876acc2830f93ea4d99afbf6d5dc to your computer and use it in GitHub Desktop.
Save mikeest1972/b505876acc2830f93ea4d99afbf6d5dc to your computer and use it in GitHub Desktop.
Clear CocoaPods cache, re-download and re-install all pods
#!/usr/bin/env bash
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
# for non M1
# pod update
# for M1 macs
arch -x86_64 pod update
@mikeest1972
Copy link
Author

Edited to add M1 mac support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment