Skip to content

Commit 9414f70

Browse files
a-mauricetom-andersen
authored andcommitted
Run simulator install as root (#1379)
1 parent 89a6381 commit 9414f70

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
@@ -517,7 +517,7 @@ def _create_and_boot_simulator(apple_platform, device_name, device_os):
517517
print("::warning ::Unable to find %s version %s, will fall back to %s" % (apple_platform, device_os, available_versions[-1]))
518518
device_os = available_versions[-1]
519519

520-
args = ["xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)]
520+
args = ["sudo", "xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)]
521521
logging.info("Download simulator: %s", " ".join(args))
522522
subprocess.run(args=args, check=False)
523523

0 commit comments

Comments
 (0)