Installation
CocoaPods
Podfile
Swift Package Manager
Add both the CloudX package and the Google Mobile Ads package to your project, then add theCloudXGoogleWaterfallAdapter product:
- CloudX:
https://github.com/cloudx-io/cloudx-ios - Google Mobile Ads:
https://github.com/googleads/swift-package-manager-google-mobile-ads
Manual
- Download
CloudXGoogleWaterfallAdapter.xcframework.zipfrom Releases - Unzip and drag
CloudXGoogleWaterfallAdapter.xcframeworkinto your Xcode project - Add the Google Mobile Ads SDK (
Google-Mobile-Ads-SDK 12.14.0) manually.
Info.plist Configuration
Google Application Identifier (Required)
The Google Mobile Ads SDK requires your AdMob app ID in Info.plist. Without it, the app will crash at launch:Info.plist
SKAdNetwork IDs (Required for iOS 14.5+)
Add Google’s SKAdNetwork identifiers so Google can attribute installs. The primary Google identifier is:Info.plist
App Tracking Transparency (iOS 14+)
Info.plist
Project Configuration
Linker Flags: Add-ObjC to Other Linker Flags in Build Settings. (The CocoaPods and SPM integrations set this automatically.)