Open abdullahsoylemez opened 8 months ago
+1
+1
+1
Seeing this issue too. I could resolve it temporarily by manually downloading and installing the tvOS SDK as described in https://developers.google.com/interactive-media-ads/docs/sdks/tvos/client-side#manually_downloading_and_installing_the_sdk
+1
Looks like the package names need to be different between iOS and tvOS
@gschoppe is there any solution for this problem? perhaps adding a suffix to one of the libraries would solve the issue?
@gschoppe is there any solution for this problem? perhaps adding a suffix to one of the libraries would solve the issue?
I think the only solution right know is to fork one of the packages and changing the name of the package for disambiguation. Although, this solution is not the best one for a long life application; as updates may be done by hand.
You can have a look at my fork for reference: https://github.com/jromanos-hiberus/swift-package-manager-google-interactive-media-ads-tvos
+1
I created a PR for this change, so you can also tie directly into that commit: 59189ffae1c43461c8b75262fecef87aed4bba2f
Hang in there, folks. We are currently weighing the impact of a couple of different solutions to this issue on our engineering end, and should have a definitive solution soon.
~Greg
I'm working on a project that has both iOS and tvOS targets. After installing IMA iOS SDK for iOS target via SPM, when I want to install IMA tvOS SDK for tvOS target, I get an error like this:
multiple products named 'GoogleinteractiveMediaAds' in: 'swift-package-manager-google-interactive-media-ads-ios, 'swift-package-manager-google-interactive-media-ads-tvos'