diff --git a/xcode-remove-caches.sh b/xcode-remove-caches.sh
new file mode 100644
index 0000000000000000000000000000000000000000..34e266213d17435c0871b41a7635d2ead0b9baab
--- /dev/null
+++ b/xcode-remove-caches.sh
@@ -0,0 +1,4 @@
+rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
+rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache"
+rm -rf ~/Library/Developer/Xcode/DerivedData/*
+rm -rf ~/Library/Caches/com.apple.dt.Xcode/*