From 2557b4a9822adb28f9413db233580843fdce4483 Mon Sep 17 00:00:00 2001 From: Stephan Diederich Date: Mon, 4 Oct 2021 17:30:59 +0200 Subject: [PATCH] add a basic check to see if there are enough headers --- scripts/test-carthage.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/test-carthage.sh b/scripts/test-carthage.sh index 1f5f95a1..28bf611c 100755 --- a/scripts/test-carthage.sh +++ b/scripts/test-carthage.sh @@ -33,6 +33,9 @@ echo "Checking for build products..." if [ ! -d "Carthage/Build/InAppSettingsKit.xcframework" ]; then echo "No iOS library built" EXIT_CODE=1 +elif [ `find Carthage/Build/InAppSettingsKit.xcframework -name "*.h" | wc -l` -le 3 ]; then + echo "Not enough headers present - please make sure the xcodeproj is still correctly setup" + EXIT_CODE=2 else echo "Found iOS framework" fi