I’m trying to write a Swift package that uses the @Observable (SwiftUI) macro which is only available in ios 17+ , so I added the following to Package.swift:
platforms: [
.iOS(.v17)
],
But I’m getting the seemingly inappropriate XCode error, “‘Observable()’ is only available in macOS 14.0 or newer”
I thought I had restricted the package to ios 17+ ?!