Today, we’re announcing you can start adding Google Mobile Ads mediation adapters to your iOS projects using Swift Package Manager (SPM).
Swift Package Manager is Apple's first-party tool for managing project dependencies. By supporting SPM, we're making it easier for you to integrate and manage our mediation adapters, helping you streamline your development workflow and reduce setup complexity.
Which adapters are supported?
We're planning to roll out SPM support for all open source and versioned adapters . Each adapter will be in its own dedicated GitHub repository.
Adapters currently available:
Add a Swift Package to your project
To add a package dependency to your Xcode project, navigate to File > Add Package Dependencies… and search for the package using each adapter's corresponding GitHub URL:
Adapters coming soon
We're continuing to roll out Swift Package Manager support for more mediation adapters. Check the list of currently supported adapters by visiting our GitHub page.
If you have any questions or want to discuss this post, please reach out to us on our “Google Advertising and Measurement Community” Discord server .
- Justin Malandruccolo, Mobile Ads Developer Relations