26.0.0
Keeping Up With Cupertino
SwiftUI Introspect is now adopting a yearly versioning scheme that aligns with Apple’s OS releases (iOS, iPadOS, macOS, tvOS, visionOS). Starting with v26.0.0, the major version number will match the corresponding OS release. This makes it immediately clear which OS versions are supported without needing to consult the changelog.
.package(url: "https://github.com/siteline/swiftui-introspect", from: "26.0.0"),
For library authors
If your library depends on SwiftUI Introspect, declare a version range that spans at least the last two major versions instead of jumping straight to the latest. This avoids conflicts when apps pull the library directly or through multiple dependencies. For example:
.package(url: "https://github.com/siteline/swiftui-introspect", "1.3.0"..<"27.0.0"),
A wider range is safe because SwiftUI Introspect is essentially “finished”: no new features will be added, only newer platform versions and view types. Thanks to imports, library authors can future proof without needing to jump onto the latest major version right away.