Challenges with Google IMA SDK Integration using Swift Package Manager

23 views
Skip to first unread message

Agripino Gabriel M. Damasceno

unread,
Apr 11, 2025, 2:24:32 AMApr 11
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.

We have a couple of video stream apps and they share the same codebases between iOS and tvOS. The IMA-SDK has two different versions for iOS and tvOS platforms. Although both versions of IMA-SDK supports Swift Package Manager, there is a problem as both share the same name. The Swift Package Resolution failed because multiple targets named a same framework.

There is a sample project attached to show the problem in practice.

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.
IMA+SPM+Name Conflict.zip

IMA SDK

unread,
Apr 11, 2025, 9:15:12 AMApr 11
Hi Eduardo,

Thank you for providing the sample project.

I will check this issue with the wider team and update once I have more information. Meanwhile your patience is appreciated. 

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-11 06:14:59Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pSZrl:ref" (ADR-00299505)



Reply all
Reply to author
Forward
0 new messages