googleads / swift-package-manager-google-mobile-ads

Apache License 2.0
143 stars 23 forks source link

Error after Add with SPM - Google Mobile Ads SDK #106

Open arthursalgado opened 1 month ago

arthursalgado commented 1 month ago
Screenshot 2024-10-24 at 8 58 51 AM

Can't add on Xcode with SPM.

Xcode 16.0

arthursalgado commented 1 month ago

https://developers.google.com/admob/ios/quick-start

I was following this doc.

mr-fixit commented 1 month ago

your screenshot of the error dialog doesn't include the specific reason. is there something below the image?

xcode often gives me spurious errors when resolving packages. try quitting and relaunching xcode. try deleting derived data.

On Thu, Oct 24, 2024 at 8:01 AM Arthur Salgado @.***> wrote:

Screenshot.2024-10-24.at.8.58.51.AM.png (view on web) https://github.com/user-attachments/assets/d4b069ad-2a0c-465c-88d3-1e159290ddd7

Can't add on Xcode with SPM.

Xcode 16.0

— Reply to this email directly, view it on GitHub https://github.com/googleads/swift-package-manager-google-mobile-ads/issues/106, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPPREPLH7BCOFOXBFIN3TZ5DOQPAVCNFSM6AAAAABQQ5OVAWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTCMZVG4ZDEOI . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

arthursalgado commented 4 weeks ago

Hello, the message was that it's not compatible when I try to add to my project by SPM.

In the Google documentation what worked for me was the manual installation. I download and manually setup on Xcode.

Thanks

DanielStormApps commented 3 weeks ago

Point it at the exact version 11.4.0 for now. They released hot fix versions only for CocoaPods so if you're trying to pull in those version, 11.4.1/11.4.2 through SPM its not going to be able to locate them: https://firebase.google.com/support/release-notes/ios