Skip to content

Commit 94faadf

Browse files
author
peter bohac
authored
Workaround for the build break on visionOS (#2746)
This is likely not the proper solution, but it does get my projects building.
1 parent 776bc5c commit 94faadf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/ComposableArchitecture/Observation/Binding+Observation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
@available(macOS, introduced: 10.15, obsoleted: 14)
2727
@available(tvOS, introduced: 13, obsoleted: 17)
2828
@available(watchOS, introduced: 6, obsoleted: 10)
29+
@available(visionOS, unavailable)
2930
extension Perception.Bindable {
3031
@_disfavoredOverload
3132
public subscript<State: ObservableState, Action, Member>(
@@ -188,6 +189,7 @@
188189
@available(macOS, introduced: 10.15, obsoleted: 14)
189190
@available(tvOS, introduced: 13, obsoleted: 17)
190191
@available(watchOS, introduced: 6, obsoleted: 10)
192+
@available(visionOS, unavailable)
191193
@dynamicMemberLookup
192194
public struct _StoreBindable_Perception<State: ObservableState, Action, Value> {
193195
fileprivate let bindable: Perception.Bindable<Store<State, Action>>

0 commit comments

Comments
 (0)