Skip to content

Commit

Permalink
using xcode version instead of minimum deployment target
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalPineapple committed Jul 30, 2024
1 parent 877c70d commit 28d5913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KIF/Additions/UIView-Debugging.m
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ - (void)printDatePickerState {
case UIDatePickerModeCountDownTimer:
printf(" UIDatePickerModeCountDownTimer");
break;
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 17040
#if __clang_major__ >= 15 // Xcode 15 or better. This might still error on xcode versions between 15.0 and 15.3, but that much harder to check for as they all use the same version of clang.
case UIDatePickerModeYearAndMonth:
printf(" UIDatePickerModeYearAndMonth");
break;
Expand Down

0 comments on commit 28d5913

Please sign in to comment.