Skip to content

ci: run PR validation on the xcode-27 runner - #338

Merged
cassio-rossi merged 2 commits into
release/v5from
ci/xcode-27-runner
Nov 11, 2026
Merged

cassio-rossi merged 2 commits into
release/v5from
ci/xcode-27-runner

Conversation

@cassio-rossi

Copy link
Copy Markdown
Collaborator

validate-pr currently fails at build time:

ToolbarItemModifier.swift:29:26: value of type 'some ToolbarContent' has no member 'axisBehavior'

The macos-26 image (runs-on: macos-latest) tops out at Xcode 26.6, which has no iOS 27.1 SDK. if #available(iOS 27.1, *) is a runtime check, so the code must still compile against the SDK in use.

Change

runs-on: macos-latest → runs-on: xcode-27 in .github/workflows/pr-validation.yml. GitHub's xcode-27 image (preview) has Xcode 27.0 / 27.1 / 27.2 and iOS 27.x simulators; the existing "select latest non-beta Xcode" step should pick Xcode_27.2.

Notes

Verification

Not verified locally (workflow change); the validate-pr check on this PR is the verification.

🤖 Generated with Claude Code

cassio-rossi and others added 2 commits November 11, 2026 18:13
…entMode:)

Satisfies the legacy_swiftui_aspect_ratio rule enforced by CI SwiftLint.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The macos-26 image tops out at Xcode 26.6, which lacks the iOS 27.1 SDK
needed by ToolbarItemModifier (axisBehavior), so the CI build fails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cassio-rossi
cassio-rossi merged commit faf6b0e into release/v5 Nov 11, 2026
2 checks passed
@cassio-rossi
cassio-rossi deleted the ci/xcode-27-runner branch November 11, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant