Platform/OS version:
iOS 15+ (not entirely relevant to this)
IDE version:
Xcode 14.3 beta 2
Any related GitHub issues:
Describe the bug
When attempting to build a project which imports SwiftUIBackports in Xcode 14.3 beta 2, the compiler fails on the file Toolbar.swift with the error Namespace is only available in iOS 14.0 or newer.
The same error doesn't happen in Xcode 14.2, but I'm not sure why that is. Accessing the same Toolbar.swift file and Cmd+right clicking the Namespace property wrapper shows that it was introduced in iOS 14, and the file shouldn't have been successfully building while the package targets iOS 13+.
Steps to reproduce
Add SwiftUIBackports as a dependency to a project targeting any version of iOS with SwiftUI, and attempt to build in Xcode 14.3 beta 2.
Expected behavior
SwiftUIBackports to build correctly
Screenshots
If applicable, add screenshots, gifs, or videos to help explain your problem.
Additional context
In the generated header for Namespace, it's attributed like this:
Have you read the Contributing Guidelines?
General Information
Project version: 1.15.0
Platform/OS version: iOS 15+ (not entirely relevant to this)
IDE version: Xcode 14.3 beta 2
Any related GitHub issues:
Describe the bug
When attempting to build a project which imports SwiftUIBackports in Xcode 14.3 beta 2, the compiler fails on the file Toolbar.swift with the error
Namespace is only available in iOS 14.0 or newer
. The same error doesn't happen in Xcode 14.2, but I'm not sure why that is. Accessing the same Toolbar.swift file and Cmd+right clicking theNamespace
property wrapper shows that it was introduced in iOS 14, and the file shouldn't have been successfully building while the package targets iOS 13+.Steps to reproduce
Add SwiftUIBackports as a dependency to a project targeting any version of iOS with SwiftUI, and attempt to build in Xcode 14.3 beta 2.
Expected behavior
SwiftUIBackports to build correctly
Screenshots
If applicable, add screenshots, gifs, or videos to help explain your problem.
Additional context
In the generated header for Namespace, it's attributed like this:
So I'm really confused as to how it built/worked before 😅