Skip to content

feat: add binary module version metadata - #1231

Merged
Kyle-Ye merged 1 commit into
mainfrom
optimize/binary_version
Oct 26, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
optimize/binary_version

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Published OpenSwiftUI binaries lack Swift module version metadata for conditional imports.

  • Set SWIFT_USER_MODULE_VERSION for OpenSwiftUI and OpenSwiftUICore from the tracked VERSION.txt, so consumers can use canImport(..., _version:).
  • Require release requests to match the source version and validate public interface metadata and version comparisons before publication.
  • Clear Tuist manifest caches in CI and document manual version bumps for main and maintenance releases.

Validation

  • Verified public interface version checks with minimal frameworks across macOS, iOS, and visionOS SDK slices.
  • Passed targeted release, workflow, binary interface, module version, and Tuist setup tests.
  • Confirmed dependency resolution and Example project generation after rebasing onto main.

Close #1228

@github-actions github-actions Bot added area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: build Build system, packaging, toolchain, release, or compiler support. labels Oct 26, 2026
@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.20%. Comparing base (d811da2) to head (a04cee0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1231   +/-   ##
=======================================
  Coverage   31.20%   31.20%           
=======================================
  Files         977      977           
  Lines       78984    78984           
=======================================
+ Hits        24646    24647    +1     
+ Misses      54338    54337    -1     

☔ 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.

@tuist

tuist Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 6s 08694fa87

@Kyle-Ye
Kyle-Ye merged commit 352f856 into main Oct 26, 2026
7 checks passed
@Kyle-Ye
Kyle-Ye deleted the optimize/binary_version branch October 26, 2026 19:04
@Kyle-Ye Kyle-Ye linked an issue Oct 27, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: build Build system, packaging, toolchain, release, or compiler support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add module version metadata to binary distributions

1 participant