Skip to content

Commit ad60650

Browse files
authored
[Infra] Stop including AdMob in zip builds (#15024)
1 parent c38c306 commit ad60650

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

FirebaseCore/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
- [removed] **Breaking change**: Removed the following unused API.
88
- `Options.androidClientID`
99
- `Options.trackingID`
10+
- [removed] **Breaking change**: Firebase's zip and Carthage distributions of
11+
the Google Mobile Ads SDK has been removed. Instead, the Google
12+
Mobile Ads SDK binary distribution should be accessed from
13+
https://developers.google.com/admob/ios/download. Note that _any existing
14+
versions of the Firebase zip or Carthage distributions will
15+
continue to be available and functional_. Learn more about this change
16+
in our FAQ: https://firebase.google.com/support/faq/#admob-which-sdk. (#14408)
1017
- [removed] The deprecated Vertex AI in Firebase SDK (`FirebaseVertexAI`) has
1118
been removed. It has been replaced by the Firebase AI Logic
1219
SDK (`FirebaseAI`) to

ReleaseTooling/Sources/ZipBuilder/CarthageUtils.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,6 @@ extension CarthageUtils {
319319
var jsonFileName: String
320320
if product == "GoogleSignIn" {
321321
jsonFileName = "FirebaseGoogleSignIn"
322-
} else if product == "Google-Mobile-Ads-SDK" {
323-
jsonFileName = "FirebaseAdMob"
324322
} else {
325323
jsonFileName = product
326324
}

ReleaseTooling/Sources/ZipBuilder/ZipBuilder.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,8 @@ struct ZipBuilder {
369369
guard !podsToInstall.isEmpty else {
370370
fatalError("Failed to find versions for Firebase release")
371371
}
372-
// We don't release Google-Mobile-Ads-SDK and GoogleSignIn, but we include their latest
372+
// We don't release GoogleSignIn, but we include its latest
373373
// version for convenience in the Zip and Carthage builds.
374-
podsToInstall.append(CocoaPodUtils.VersionedPod(name: "Google-Mobile-Ads-SDK",
375-
version: nil,
376-
platforms: ["ios"]))
377374
podsToInstall.append(CocoaPodUtils.VersionedPod(name: "GoogleSignIn",
378375
version: nil,
379376
platforms: ["ios"]))
@@ -486,8 +483,7 @@ struct ZipBuilder {
486483

487484
// Skip Analytics and the pods bundled with it.
488485
let remainingPods = installedPods.filter {
489-
$0.key == "Google-Mobile-Ads-SDK" ||
490-
$0.key == "GoogleSignIn" ||
486+
$0.key == "GoogleSignIn" ||
491487
(firebaseZipPods.contains($0.key) &&
492488
$0.key != "FirebaseAnalytics" &&
493489
$0.key != "Firebase" &&

0 commit comments

Comments
 (0)