You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add module version metadata to binary distributions #1228
Set SWIFT_USER_MODULE_VERSION from the release version for the OpenSwiftUI and OpenSwiftUICore targets.
Preserve -user-module-version in the public .swiftinterface files for every published platform slice.
Keep dependency framework versions independent of the OpenSwiftUI release version.
Document the use of _version and the behavior of older binaries without module version metadata.
Acceptance criteria
Version checks succeed for the published version and lower versions, and fail for higher versions.
The checks work when consumers load only the public textual interfaces on iOS, macOS, and visionOS.
Distribution validation checks both the expected version and an upper boundary.
Documentation explains that _underlyingVersion checks the underlying Clang module, and that an unversioned Swift module warns and ignores the requested version rather than selecting the false branch.
A standalone DemoKit experiment has verified the build setting, version boundaries, and public interface behavior across the five Apple SDK slices.
Activity