Skip to content

Commit 21a8b48

Browse files
authored
Run simulator install as root (#779)
1 parent bd73542 commit 21a8b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gha/test_simulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def _create_and_boot_simulator(apple_platform, device_name, device_os):
409409
logging.warning("Unable to find version %s, will fall back to %s", device_os, available_versions[-1])
410410
device_os = available_versions[-1]
411411

412-
args = ["xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)]
412+
args = ["sudo", "xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)]
413413
logging.info("Download simulator: %s", " ".join(args))
414414
subprocess.run(args=args, check=False)
415415

0 commit comments

Comments
 (0)