Skip to content

Commit 1f71bac

Browse files
committed
Add diagnostic details on available destinations.
1 parent e8d456d commit 1f71bac

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,9 @@ jobs:
367367
with:
368368
persist-credentials: false
369369

370+
- name: List simulators
371+
run: xcrun simctl list
372+
370373
- name: Build and test
371374
run: python3 Platforms/Apple ci iOS --fast-ci --simulator 'iPhone 17e,OS=26.5'
372375

Platforms/Apple/testbed/__main__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ def xcode_test(location: Path, platform: str, simulator: str, verbose: bool):
7474
]
7575
verbosity_args = [] if verbose else ["-quiet"]
7676

77+
print("Diagnostic - show xcodebuild destinations...")
78+
subprocess.run(
79+
["xcodebuild", "-scheme", f"{platform}Testbed", "-showdestinations"],
80+
check=True,
81+
)
82+
7783
print("Building test project...")
7884
subprocess.run(
7985
["xcodebuild", "build-for-testing"] + args + verbosity_args,

0 commit comments

Comments
 (0)