From d1b56625adce0eab53f3a30199607250a5cbabf0 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Mon, 28 Oct 2024 15:37:38 -0700 Subject: [PATCH 1/2] Fix Auth Combine build for watchOS --- .../Sources/Auth/GameCenterAuthProvider+Combine.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift b/FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift index 95491fbc5df..7243e6087ba 100644 --- a/FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift +++ b/FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift @@ -12,14 +12,13 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if canImport(Combine) && swift(>=5.0) +#if canImport(Combine) && swift(>=5.0) && !os(watchOS) import Combine import FirebaseAuth @available(swift 5.0) @available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *) - @available(watchOS, unavailable) public extension GameCenterAuthProvider { /// Creates an `AuthCredential` for a Game Center sign in. /// From aef6d473ffdf92707f8bb411d61ff7a7e4869901 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Mon, 28 Oct 2024 17:37:36 -0700 Subject: [PATCH 2/2] review --- .../Sources/Auth/GameCenterAuthProvider+Combine.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift b/FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift index 7243e6087ba..7bb8eab83ef 100644 --- a/FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift +++ b/FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#if canImport(Combine) && swift(>=5.0) && !os(watchOS) +#if canImport(Combine) && !os(watchOS) import Combine import FirebaseAuth