Skip to content

Commit

Permalink
Remove iOS simulator max runtime version limit. (#19396)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgchen1 authored Feb 6, 2024
1 parent bedf0ee commit df5c671
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tools/ci_build/github/apple/get_simulator_device_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit df5c671

Please sign in to comment.