Google Mobile Ads SDK with Swift Package Manager (SPM)?
Is there a way to import Google Mobile Ads SDK into my Xcode application through Swift Package Manager (SPM) instead of CocoaPods or Manual Download?
This repository doesn't have Package.swift file so I suppose that it is not designed to work with SPM. Any future plans in this direction?
No, sorry there are not currently any plans to support SPM, it does not contain any swift code.
Now that SPM supports xcframework to deliver binary code, will GAM sdk provides a SPM version?
Have a look at how Firebase made it work with SPM via binary xcframeworks.
Both Firebase & GoogleMobileAds are ObjC only frameworks and share similar dependencies (GoogleAppMeasurement, FBLPromises, nanopb, GoogleUtilities), so I assume it's possible to also make GoogleMobileAds SPM compatible.
At the moment, GoogleMobileAds is our only non SPM dependency, forcing us to keep using CocoaPods. It would be nice to leave CocoaPods behind and have a clean Xcode project for once :) .
@stowy I don't think issue should be closed. It is necessary and possible (see Firebase).
Hi @carloshwa - you are correct, we are reviewing this at the moment.
@stowy I really need to use GoogleSignIn and GoogleMobileAds with swift package manager , please help me.
Any update?
Hello, we're actively working on this however we are looking into ways to depend on GoogleAppMeasurement since it's not currently support SPM. We're talking to them about this.
Any news about SPM support?
I see XCFramework of Google is now available to download. Does anyone know how to declare Package.swift locally to use those frameworks in form of SPM?
@maddevrelgithubbot Hi! GoogleAppMeasurement supports SPM now. Any update?
https://github.com/google/GoogleAppMeasurement/blob/main/Package.swift
Hi! Any updates?
It would be great to have at least some news and feedbacks from contributors
Still nothing official?
Any update on this?
I've just seen your email, I'll try and let you know
29 Nis 2021 Per 02:51 tarihinde Vincent Romani @.***> şunu yazdı:
Any update on this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/googleads/googleads-mobile-unity/issues/1125#issuecomment-828852175, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJJ5QMS7H4UGILDBRGSNHLTLCNRPANCNFSM4KCD6HLQ .
I have update SPM for Admob 8.4.0. You can download it on link https://github.com/quanghits/GoogleMobileAds
I updated SPM for Admob 8.5.0. https://github.com/quanghits/GoogleMobileAds
Any update on getting this package working on SPM? If not we're going to just remove it during our next refactor. Google libraries are starting to create too much overhead nowadays
Any news about SPM support, please?
Any news about SPM support, please?
Download on my repository, I update each new version.
https://github.com/quanghits/GoogleMobileAds
Thanks for you work @quanghits, you saved many of us. But why is Google not doing it? They did it for Firebase, why not AdMob...
Swift package manager support is on the roadmap. Should be rolled this quarter, targeting August. It will NOT be in this repo though, because this repo is not the iOS SDK. Since the Google Mobile Ads SDK for iOS is not open source, there will be a separate repo for it, similar to how https://github.com/quanghits/GoogleMobileAds is set up.
Having said that, please help me understand why SPM affects you on Unity. The plugin uses https://github.com/googlesamples/unity-jar-resolver which leverages CocoaPods to pull in the iOS libraries. How will you take advantage of SPM for your Unity projects? Are all of these upvotes really from users that are stripping out that way of pulling in libraries, and setting up your own dependencies through SPM?
Any news on this? Since there is isn't any repo yet, will the announcement be made in this issue?
@ericleich is there already another repo with AdMob for SPM? You mentioned August and the end of August is approaching, but I still cannot find it.
Many thanks for looking into this!
Any news?
Any updates? It's past August...
Some news about the integration anyone?
@ericleich any word on Google Ads Swift package manager support yet?
Any updates here? This is badly needed