Skip to content

Commit a0ad239

Browse files
authored
Fix Auth Combine build for watchOS (firebase#13984)
1 parent dd0a4c6 commit a0ad239

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

FirebaseCombineSwift/Sources/Auth/GameCenterAuthProvider+Combine.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#if canImport(Combine) && swift(>=5.0)
15+
#if canImport(Combine) && !os(watchOS)
1616

1717
import Combine
1818
import FirebaseAuth
1919

2020
@available(swift 5.0)
2121
@available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, *)
22-
@available(watchOS, unavailable)
2322
public extension GameCenterAuthProvider {
2423
/// Creates an `AuthCredential` for a Game Center sign in.
2524
///

0 commit comments

Comments
 (0)