Skip to content

Update toolchains for Xcode 26.3 and Swift 6.2.4#899

Open
Kyle-Ye wants to merge 16 commits into
mainfrom
optimize/bump_version
Open

Update toolchains for Xcode 26.3 and Swift 6.2.4#899
Kyle-Ye wants to merge 16 commits into
mainfrom
optimize/bump_version

Conversation

@Kyle-Ye
Copy link
Copy Markdown
Member

@Kyle-Ye Kyle-Ye commented Jun 7, 2026

Summary

Close #869

  • Update CI/toolchain configuration for Xcode 26.3 and Swift 6.2.4 across Darwin and Ubuntu jobs.
  • Refresh OpenAttributeGraph, OpenRenderBox, and DarwinPrivateFrameworks package pins.
  • Remove the obsolete Swift toolchain patch script and update compatibility tests for the Xcode 26.3 SDK/runtime behavior.

Dependency

@github-actions github-actions Bot added area: compatibility Compatibility, availability, legacy support, and cross-version behavior. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: build Build system, packaging, toolchain, release, or compiler support. type: ci GitHub Actions, test infrastructure, runners, checks, or automation. type: maintenance Refactor, cleanup, dependency bump, NFC, or internal maintenance. labels Jun 7, 2026
@Kyle-Ye Kyle-Ye marked this pull request as ready for review June 7, 2026 16:51
@Kyle-Ye Kyle-Ye requested a review from Mx-Iris as a code owner June 7, 2026 16:51
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Jun 7, 2026

🤖 Augment PR Summary

Summary: Updates OpenSwiftUI’s supported toolchains and CI configuration for Xcode 26.3 and Swift 6.2.4.

Changes:

  • Bump default Xcode version used by custom GitHub actions and macOS/iOS/UITest/compat workflows to 26.3.
  • Update Ubuntu CI to Swift 6.2.4 and remove the now-obsolete toolchain patch step.
  • Remove .github/scripts/fix-toolchain.sh (previously patching CoreFoundation headers).
  • Update SwiftPM tools versions to 6.2 (root package and Tuist example) and refresh dependency pins in Package.resolved.
  • Update dyld SPI shims/constants and tests to reflect Xcode 26.3 SDK/runtime versioning behavior.
  • Update docs (README/INTEGRATION) to recommend the new toolchain versions.

Technical Notes: Some tests were adapted to newer Swift Testing behaviors (e.g., process-exit assertions) under the updated toolchains.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread Tests/OpenSwiftUICoreTests/Data/Util/InlineArrayTests.swift Outdated
Comment thread Tests/OpenSwiftUI_SPITests/Shims/DyldPrivateTests.swift Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 14.21%. Comparing base (a8bfc2a) to head (8986e78).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #899      +/-   ##
==========================================
- Coverage   14.21%   14.21%   -0.01%     
==========================================
  Files         654      654              
  Lines       42641    42641              
==========================================
- Hits         6063     6061       -2     
- Misses      36578    36580       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye Kyle-Ye force-pushed the optimize/bump_version branch from 152f7ac to 54adf5c Compare June 7, 2026 18:09
@Kyle-Ye Kyle-Ye force-pushed the optimize/bump_version branch from eca4986 to 8986e78 Compare June 7, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: compatibility Compatibility, availability, legacy support, and cross-version behavior. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: build Build system, packaging, toolchain, release, or compiler support. type: ci GitHub Actions, test infrastructure, runners, checks, or automation. type: maintenance Refactor, cleanup, dependency bump, NFC, or internal maintenance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump Package.swift to Swift 6.2 and update the recommended Xcode version to 26.3

1 participant