Skip to content

Commit 0b0b9f4

Browse files
authored
Add new GoogleSignIn Swift pod to zip distro (#9905)
1 parent 878f885 commit 0b0b9f4

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

FirebaseCore/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Firebase 9.2.0
2+
- [added] Zip and Carthage distributions now include GoogleSignInSwiftSupport. (#9900)
3+
14
# Firebase 9.0.0
25
- [changed] Firebase now requires at least Xcode 13.3.1.
36
- [deprecated] Usage of the Firebase pod, the Firebase module (`import Firebase`), and `Firebase.h`

ReleaseTooling/Sources/ZipBuilder/ZipBuilder.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ struct ZipBuilder {
328328
podsToInstall.append(CocoaPodUtils.VersionedPod(name: "Google-Mobile-Ads-SDK",
329329
version: nil,
330330
platforms: ["ios"]))
331-
podsToInstall.append(CocoaPodUtils.VersionedPod(name: "GoogleSignIn",
331+
podsToInstall.append(CocoaPodUtils.VersionedPod(name: "GoogleSignInSwiftSupport",
332332
version: nil,
333333
platforms: ["ios"]))
334334

@@ -440,14 +440,15 @@ struct ZipBuilder {
440440
// Skip Analytics and the pods bundled with it.
441441
let remainingPods = installedPods.filter {
442442
$0.key == "Google-Mobile-Ads-SDK" ||
443-
$0.key == "GoogleSignIn" ||
443+
$0.key == "GoogleSignInSwiftSupport" ||
444444
(firebaseZipPods.contains($0.key) &&
445445
$0.key != "FirebaseAnalyticsSwift" &&
446446
$0.key != "Firebase" &&
447447
podsToInstall.map { $0.name }.contains($0.key))
448448
}.sorted { $0.key < $1.key }
449449
for pod in remainingPods {
450-
let folder = pod.key.replacingOccurrences(of: "Swift", with: "")
450+
let folder = pod.key == "GoogleSignInSwiftSupport" ? "GoogleSignIn" :
451+
pod.key.replacingOccurrences(of: "Swift", with: "")
451452
do {
452453
if frameworksToAssemble[pod.key] == nil {
453454
// Continue if the pod wasn't built.
@@ -685,7 +686,7 @@ struct ZipBuilder {
685686
/// Describes the dependency on other frameworks for the README file.
686687
func readmeHeader(podName: String) -> String {
687688
var header = "## \(podName)"
688-
if !(podName == "FirebaseAnalytics" || podName == "GoogleSignIn") {
689+
if !(podName == "FirebaseAnalytics" || podName == "GoogleSignInSwiftSupport") {
689690
header += " (~> FirebaseAnalytics)"
690691
}
691692
header += "\n"

0 commit comments

Comments
 (0)