From 26ea2549922a26232a41c7bf610f8c0c1f224353 Mon Sep 17 00:00:00 2001 From: Alex Odawa Date: Tue, 30 Jul 2024 20:17:06 +0200 Subject: [PATCH] using xcode version instead of minimum deployment target --- Sources/KIF/Additions/UIView-Debugging.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/KIF/Additions/UIView-Debugging.m b/Sources/KIF/Additions/UIView-Debugging.m index 419964d7..ec0c7844 100644 --- a/Sources/KIF/Additions/UIView-Debugging.m +++ b/Sources/KIF/Additions/UIView-Debugging.m @@ -136,7 +136,7 @@ - (void)printDatePickerState { case UIDatePickerModeCountDownTimer: printf(" UIDatePickerModeCountDownTimer"); break; -#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 17040 +#if __clang_major__ >= 15 // Xcode 15 case UIDatePickerModeYearAndMonth: printf(" UIDatePickerModeYearAndMonth"); break;