From 94faadf363dc5074b5b6f30b9dc1631d01d68418 Mon Sep 17 00:00:00 2001 From: peter bohac <143439862+peterbohac@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:48:38 -0800 Subject: [PATCH] Workaround for the build break on visionOS (#2746) This is likely not the proper solution, but it does get my projects building. --- .../Observation/Binding+Observation.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/ComposableArchitecture/Observation/Binding+Observation.swift b/Sources/ComposableArchitecture/Observation/Binding+Observation.swift index 3c44e2e3ad51..eba3610c6b9e 100644 --- a/Sources/ComposableArchitecture/Observation/Binding+Observation.swift +++ b/Sources/ComposableArchitecture/Observation/Binding+Observation.swift @@ -26,6 +26,7 @@ @available(macOS, introduced: 10.15, obsoleted: 14) @available(tvOS, introduced: 13, obsoleted: 17) @available(watchOS, introduced: 6, obsoleted: 10) + @available(visionOS, unavailable) extension Perception.Bindable { @_disfavoredOverload public subscript( @@ -188,6 +189,7 @@ @available(macOS, introduced: 10.15, obsoleted: 14) @available(tvOS, introduced: 13, obsoleted: 17) @available(watchOS, introduced: 6, obsoleted: 10) + @available(visionOS, unavailable) @dynamicMemberLookup public struct _StoreBindable_Perception { fileprivate let bindable: Perception.Bindable>