Skip to content

Commit ced0a58

Browse files
authored
Add watchOS support for Swift Package Manager (#8864)
* SPM support for Functions on watchOS * CHANGELOG * Remove SwiftPM-PlatformExclude/ Functions dir
1 parent f8b7174 commit ced0a58

File tree

4 files changed

+5
-42
lines changed

4 files changed

+5
-42
lines changed

Functions/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# v8.9.0
2+
- [fixed] Add watchOS support for Swift Package Manager (#8864).
3+
14
# v8.7.0
25
- [fixed] Add watchOS support (#8499).
36
- [changed] Don't set the App Check header in the case of App Check error (#8558).

Package.swift

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ let package = Package(
8989
),
9090
.library(
9191
name: "FirebaseFunctions",
92-
targets: ["FirebaseFunctionsTarget"]
92+
targets: ["FirebaseFunctions"]
9393
),
9494
.library(
9595
name: "FirebaseInAppMessaging-Beta",
@@ -654,14 +654,7 @@ let package = Package(
654654
]
655655
),
656656

657-
// MARK: Firebase Functions
658-
659-
.target(
660-
name: "FirebaseFunctionsTarget",
661-
dependencies: [.target(name: "FirebaseFunctions",
662-
condition: .when(platforms: [.iOS, .tvOS, .macOS]))],
663-
path: "SwiftPM-PlatformExclude/FirebaseFunctionsWrap"
664-
),
657+
// MARK: - Firebase Functions
665658

666659
.target(
667660
name: "FirebaseFunctions",

SwiftPM-PlatformExclude/FirebaseFunctionsWrap/dummy.m

Lines changed: 0 additions & 18 deletions
This file was deleted.

SwiftPM-PlatformExclude/FirebaseFunctionsWrap/include/dummy.h

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)