From a0ad239f4327bc60734d4cc84fffd6e274da0d15 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Mon, 28 Oct 2024 18:03:26 -0700 Subject: [PATCH] Fix Auth Combine build for watchOS (#13984) --- .../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..7bb8eab83ef 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) && !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. ///