diff --git a/run-tests.sh b/run-tests.sh
index 8708d73c060aba00b15673a7a42255037e015e19..cb1b500b42970eeec7b13c6c6609ddd886b6bdc6 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -4,12 +4,12 @@ set -e
 if [ "$1" = "macos" ]; then
 
   echo "\n\033[1;32m▶ Running package tests on macOS...\033[0m"
-  swift test
+  set -o pipefail && swift test 2>&1 | ./xcbeautify
 
 elif [ "$1" = "ios" ]; then
 
   echo "\n\033[1;32m▶ Running package tests on iOS Simulator...\033[0m"
-  xcodebuild -scheme 'xx-client-ios-db-Package' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=16.0,name=iPhone 14' test
+  set -o pipefail && xcodebuild -scheme 'xx-client-ios-db-Package' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=16.0,name=iPhone 14' test | ./xcbeautify
 
 else
 
diff --git a/xcbeautify b/xcbeautify
new file mode 100755
index 0000000000000000000000000000000000000000..76b5df583a5d8f479e2088d4927ad90288c9d4cd
Binary files /dev/null and b/xcbeautify differ