From df5c6718bd67bdc59fb77fbd4a6ccdcaf902145c Mon Sep 17 00:00:00 2001 From: Edward Chen <18449977+edgchen1@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:54:06 -0800 Subject: [PATCH] Remove iOS simulator max runtime version limit. (#19396) --- tools/ci_build/github/apple/get_simulator_device_info.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/ci_build/github/apple/get_simulator_device_info.py b/tools/ci_build/github/apple/get_simulator_device_info.py index 2a36418bac9cb..7de9aa13912e0 100755 --- a/tools/ci_build/github/apple/get_simulator_device_info.py +++ b/tools/ci_build/github/apple/get_simulator_device_info.py @@ -138,13 +138,11 @@ def runtime_id_and_device_pair_key(runtime_id_and_device_pair): def main(): parser = argparse.ArgumentParser(description="Gets simulator info from Xcode and prints it in JSON format.") - _ = parser.parse_args() # no args yet + parser.add_argument("--max-runtime-version", help="The maximum runtime version to allow.") + args = parser.parse_args() info = get_simulator_device_info( - # The macOS-13 hosted agent image has iOS 17 which is currently in beta. Limit it to 16.4 for now. - # See https://github.com/actions/runner-images/issues/8023 - # TODO Remove max_runtime_version limit. - max_runtime_version_str="16.4", + max_runtime_version_str=args.max_runtime_version, ) print(json.dumps(info, indent=2))