From 098730660417b60725ec3cebf88a1d9b37c8d0bf Mon Sep 17 00:00:00 2001
From: Dariusz Rybicki <dariusz@elixxir.io>
Date: Tue, 20 Sep 2022 14:51:51 +0200
Subject: [PATCH] Update xcode-remove-caches script

---
 xcode-remove-caches.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xcode-remove-caches.sh b/xcode-remove-caches.sh
index 34e26621..4d24eab4 100755
--- a/xcode-remove-caches.sh
+++ b/xcode-remove-caches.sh
@@ -1,3 +1,5 @@
+pkill -int com.apple.CoreSimulator.CoreSimulatorService
+killall Xcode
 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/*
-- 
GitLab