pointfreeco / swift-perception

Observable tools, backported.
MIT License
575 stars 44 forks source link

Mark visionOS unavailable for `Bindable` #6

Closed schrismartin closed 10 months ago

schrismartin commented 10 months ago

For some reason, when building the project for visionOS, Bindable isn't properly gated from compiling, but attempting to reference itself fails.

In order to get swift-perception running on visionOS, we need to mark Bindable as @available(visionOS, unavailable).

Since targeting visionOS is equivalent to targeting iOS 17+, I don't see a reason this shadowed type should ever need to be exposed on visionOS.

CleanShot 2024-01-11 at 15 10 06@2x

stephencelis commented 10 months ago

Thanks!