Skip to content

Commit f810104

Browse files
yonaskolbclaude
andcommitted
Fix CI: add explicit xcodebuild destinations and update Xcode matrix
Newer Xcode versions no longer auto-select a build destination, causing the "Build fixtures" step to fail with "Found no destinations for the scheme". Add explicit -destination flags to build.sh and update the CI matrix to test against Xcode 16.0 and 26.2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d35562f commit f810104

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Xcode ${{ matrix.xcode }}
99
strategy:
1010
matrix:
11-
xcode: ["16.0", "16.3"]
11+
xcode: ["16.0", "26.2"]
1212
env:
1313
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
1414
steps:

Tests/Fixtures/TestProject/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ set -e
33

44
echo "
55
⚙️ Building iOS app"
6-
xcodebuild -quiet -workspace Workspace.xcworkspace -scheme "App_iOS Test" -configuration "Test Debug" -xcconfig fixtures.xcconfig
6+
xcodebuild -quiet -workspace Workspace.xcworkspace -scheme "App_iOS Test" -configuration "Test Debug" -xcconfig fixtures.xcconfig -destination 'generic/platform=iOS Simulator'
77
echo "✅ Successfully built iOS app"
88

99
echo "
1010
⚙️ Building macOS app"
11-
xcodebuild -quiet -workspace Workspace.xcworkspace -scheme "App_macOS" -configuration "Test Debug" -xcconfig fixtures.xcconfig
11+
xcodebuild -quiet -workspace Workspace.xcworkspace -scheme "App_macOS" -configuration "Test Debug" -xcconfig fixtures.xcconfig -destination 'generic/platform=macOS'
1212
echo "✅ Successfully built macOS app"

0 commit comments

Comments
 (0)