Add native SwiftUI player and macOS CI
iOS build and tests / simulator (push) Has been cancelled

This commit is contained in:
2026-09-10 09:11:55 +03:00
parent 6307070194
commit 6174be5610
20 changed files with 1729 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
"""Select an available iPhone from simctl JSON; print a GitHub environment entry."""
import json
import sys
import uuid
with open(sys.argv[1], encoding="utf-8") as stream:
runtimes = json.load(stream)["devices"]
for runtime in sorted(runtimes, reverse=True):
if ".iOS-" not in runtime:
continue
for device in runtimes[runtime]:
if device.get("isAvailable") and device.get("name", "").startswith("iPhone"):
print("SIMULATOR_ID=" + str(uuid.UUID(device["udid"])))
sys.exit(0)
sys.exit("No available iPhone simulator in selected Xcode runtime.")