This is a project adds support for multi-platform XCFramework, Swift Package and CocoaPods to the Google Interactive Media Ads (IMA) SDK.
5f7afb56bd88087a73fa2ffe6700ad0bb6c7cc43db4ffe607d42ad0d4faab170
iOS: 3.19.1
tvOS: 4.9.2
To use this Swift Package in your Xcode project, follow these steps:
- Open your project in Xcode.
- Go to File > Swift Packages > Add Package Dependency.
- Enter the URL of this repository https://github.com/rashadatjou/swift-google-ima-spm.git and click Next.
- Choose the version rule you want to use (e.g. "Up to Next Major") and click Next.
- Select the target you want to add the package to and click Finish.
- Import the GoogleInteractiveMediaAds module in your Swift files where you want to use the IMA SDK.
import GoogleInteractiveMediaAds
- You're now ready to use the IMA SDK in your app!
To use this Pod in your Xcode project, follow these steps:
- Open your Podfile
- Add the following code to it:
pod `GoogleInteractiveMediaAdsXC`
- Run
pod install
in your terminal.
For more information on how to use the IMA SDK, see the official documentation.
iOS: https://developers.google.com/interactive-media-ads/docs/sdks/ios/client-side
tvOS: https://developers.google.com/interactive-media-ads/docs/sdks/tvos/client-side