muxinc / mux-stats-google-ima

Other
4 stars 2 forks source link

tvOS Swift Package Manager support #35

Open OmarPedraza opened 1 month ago

OmarPedraza commented 1 month ago

You're currently adding iOS' GoogleInteractiveMediaAds SDK as a binary target when installing this SDK through Swift Package Manager.

Even if this works for iOS projects, it doesn't work in tvOS projects. Dependencies are successfully resolved but the project fails to found GoogleInteractiveMediaAds module.

Given that Google has already made GoogleInteractiveMediaAds compatible with Swift Package Manager since versions 3.18.4 for iOS and 4.8.2 for tvOS, I think it would be easier to add it as a dependency taking into account project's platform.

daytime-em commented 1 month ago

Thank for your report. We're in the process of adding SPM support for tvOS for this SDK, and I'll update you here when we are ready to release it.

Thanks again!