Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Challenges with Google IMA SDK Integration: A Cry for Multi-Platform Support and Swift Package Manager Adoption

91 views
Skip to first unread message

Mehdi Rashadatjou

unread,
Apr 24, 2023, 12:36:05 PM4/24/23
to Interactive Media Ads SDK
Dear Google IMA Team,

I am writing to you with a sense of frustration and disappointment regarding the integration of Google IMA tvOS and Google IMA iOS into a multi-platform project. The issue I am facing is that both frameworks are named the same and expose the same API, which makes it incredibly challenging to integrate them into a project seamlessly.

I am struggling to understand why you have not bundled both frameworks into a single XCFramework, which would allow Xcode to determine when to strip the tvOS or iOS portion of the code. This would make integrating the IMA SDK into multi-platform projects much more straightforward and less time-consuming.

As a result of this issue, I have had to create my own unofficial version of the Google IMA SDK, which includes both iOS and tvOS frameworks within a single XCFramework. While this workaround has helped me integrate the SDK into my project, it should not be necessary.

I would like to kindly request that the IMA Team begin adopting both Swift Package Manager and Multi-Platform Framework, as this has become a standard practice in the industry over the last few years. This would make integrating the IMA SDK into multi-platform projects more efficient and would help to prevent the frustration and inconvenience that developers like myself are currently experiencing.

I appreciate your time and consideration in this matter and hope that you will take my feedback into account. Thank you for all of your hard work in developing the IMA SDK, and I look forward to seeing improvements in the future.

Mehdi Rashadatjou

unread,
Apr 24, 2023, 12:36:53 PM4/24/23
to Interactive Media Ads SDK
Here is also the mentioned workaround that I am currently using:
https://github.com/rashadatjou/swift-google-ima-spm

IMA SDK

unread,
Apr 24, 2023, 5:42:29 PM4/24/23
to ima...@googlegroups.com

Hello,

Thank you for reaching out to the IMA SDK Forum. I hope you are doing well.

We sincerely understand your concern with regards to integrating the iOS SDK into your project. It appears that you have created a Swift Package for integrating the Google Interactive Media Ads (IMA) SDK into your iOS or tvOS project using Swift. Please know that we have already raised a feature request to the rest of the team for swift package manager to be added in the SDK. Our team is constantly working on this however, we don't have a timeline yet for when it will be added as a feature. We really appreciate the workaround you have created for your use case while waiting for this to be available in IMA SDK. We will continue to ask for your patience to keep an eye on our blog and release notes for future updates.

Reference Links:

Regards,

Google Logo IMA SDK Team


ref:_00D1U1174p._5004Q2kplBV:ref

Eduardo Miranda

unread,
Aug 24, 2023, 2:40:14 AM8/24/23
to Interactive Media Ads SDK

Dear IMA team,

I would also like to add my support to this request. We would like to use it with SPM but since iOS and tvOS has the same framework name, GoogleInteractiveMediaAds,  we had to use similar workaround than Mehdiused.

Would be ideal that google provides a SPM package with multiplatform support, xcframework with both iOS and tvOS. 

If not possible, a multi-platform (iOS and tvOS combined) xcframework.

If not possible, at least use unique names for iOS and tvOS xcframeworks, in that way we won’t need workarounds.

 

Thank you and I look forward on the newer versions…

IMA SDK

unread,
Aug 24, 2023, 8:24:31 AM8/24/23
to ima...@googlegroups.com
Hi Eduardo,

Thank you for adding your insight to the feature request. As of this moment, the feature is still under discussion. In the meantime, we would recommend to keep an eye on our developer blog regarding this here: https://ads-developers.googleblog.com/search/label/ima_sdk.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2kplBV:ref"

Thanks,

 
Google Logo IMA SDK Team


Agripino Gabriel M. Damasceno

unread,
Apr 9, 2025, 8:01:47 PMApr 9
to Interactive Media Ads SDK
Hi guys,

Were you able to find a solution?

IMA SDK

unread,
Apr 10, 2025, 3:35:02 AMApr 10
to agripin...@gmail.com, ima...@googlegroups.com

Hi Eduardo,

The Interactive Media Ads SDK supports Swift Package Manager starting in version 3.18.4. Follow the steps below to import the Swift package.

Note: If migrating from a CocoaPods-based project, run pod deintegrate to remove CocoaPods from your Xcode project. The CocoaPods-generated .xcworkspace file can safely be deleted afterward. If you're adding the Interactive Media Ads SDK to a project for the first time, this step can be ignored. Kindly note that the latest version of IMA SDK is 3.26.1. For the multi platform support refer to the list of additional platforms that may be compatible with IMA SDKs and platforms that IMA SDK support.

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-10 07:34:52Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02kplBV:ref" (ADR-00176172)



Reply all
Reply to author
Forward
0 new messages