@@ -98,10 +98,10 @@ _DEFAULT_TEST_BUNDLE_ID = "com.bazelbuild.rulesapple.Tests"
9898# visible error messaging.
9999_TEST_BUNDLE_NAME_SUFFIX = ".__internal__.__test_bundle"
100100
101- # The lowest minimum OS version that can be used for the test mismatch warning. Higher versions will
102- # be "fail"ed instead of issuing a warning to help enforce the minimum OS version to be the same
103- # between the test bundle and test host, to avoid debugging issues and redundant build activity.
104- _LOWEST_MINIMUM_OS_VERSION_FOR_TEST_MISMATCH_WARNING = "17.4 "
101+ # The highest minimum OS version that can be used for the test mismatch warning. Higher versions
102+ # will be "fail"ed instead of issuing a warning to help enforce the minimum OS version to be the
103+ # same between the test bundle and test host to avoid debugging issues and redundant build activity.
104+ _HIGHEST_MINIMUM_OS_VERSION_FOR_TEST_MISMATCH_WARNING = "16.9 "
105105
106106_ERROR_ON_IOS_TEST_BUNDLE_MISMATCH_PACKAGE_PREFIXES = []
107107
@@ -320,7 +320,7 @@ Please assign "{rule_attribute_name}" a value of {test_host_rule_attribute} on t
320320 # TODO(b/337080510): Apply this failure case to all Apple platforms.
321321 if platform_prerequisites .platform_type != "ios" or (
322322 apple_common .dotted_version (test_min_os ) > apple_common .dotted_version (
323- _LOWEST_MINIMUM_OS_VERSION_FOR_TEST_MISMATCH_WARNING ,
323+ _HIGHEST_MINIMUM_OS_VERSION_FOR_TEST_MISMATCH_WARNING ,
324324 ) or any ([
325325 test_label_package_name .startswith (package_prefix )
326326 for package_prefix in _ERROR_ON_IOS_TEST_BUNDLE_MISMATCH_PACKAGE_PREFIXES
0 commit comments