Remove iOS simulator max runtime version limit. (#19396)

This commit is contained in:
Edward Chen 2024-02-06 14:54:06 -08:00 committed by GitHub
parent bedf0eee73
commit df5c6718bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -138,13 +138,11 @@ def get_simulator_device_info(
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))