Skip to content

Commit fa7b3f9

Browse files
authored
Make Firebase and FirebaseCore implicit for SPM (#6378)
1 parent 047c2a9 commit fa7b3f9

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

FirebaseCore/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Firebase 6.32.0
2+
- [changed] Swift Package Manager - It's no longer necessary to select the Firebase or
3+
FirebaseCore products. Their build targets are implicitly selected when choosing any other
4+
Firebase product. If migrating from 6.31-spm-beta, you may need to remove those targets from
5+
the `Frameworks, Libraries, and Embedded Content` Build Setting on the General tab.
6+
17
# Firebase 6.31.1
28
- [fixed] Sporadic missing FirebaseApp symbol build issue introduced in Firebase 6.28.0. (#6341)
39

Package.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ let package = Package(
2626
name: "Firebase",
2727
platforms: [.iOS(.v9), .macOS(.v10_11), .tvOS(.v10)],
2828
products: [
29-
.library(
30-
name: "Firebase",
31-
targets: ["Firebase"]
32-
),
33-
.library(
34-
name: "FirebaseCore",
35-
targets: ["FirebaseCore"]
36-
),
3729
.library(
3830
name: "FirebaseAnalytics",
3931
targets: ["FirebaseAnalyticsWrapper"]
@@ -142,6 +134,7 @@ let package = Package(
142134
.target(
143135
name: "FirebaseCore",
144136
dependencies: [
137+
"Firebase",
145138
"FirebaseCoreDiagnostics",
146139
"GoogleUtilities_Environment",
147140
"GoogleUtilities_Logger",

SwiftPackageManager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ distribution.
3636

3737
<img src="docs/resources/SPMSelect.png">
3838

39-
Choose the Firebase product and any additional products that you want installed
40-
in your app.
39+
Choose the Firebase products that you want installed in your app. (Note, before
40+
6.32-spm-beta, the Firebase product should also be selected.)
4141

4242
<img src="docs/resources/SPMProducts.png">
4343

docs/resources/SPMProducts.png

5.11 KB
Loading

0 commit comments

Comments
 (0)