google / GoogleSignIn-iOS

Enables iOS and macOS apps to sign in with Google.
https://developers.google.com/identity/sign-in/ios
Apache License 2.0
491 stars 198 forks source link

No library for this platform was found MacOS #424

Closed DaniilShmoylove closed 4 months ago

DaniilShmoylove commented 4 months ago

I am using native macOS and have encountered an issue with the absence of a library for my target platform. In this case, I cannot utilize macOS Catalyst, so I need to find a way to ensure native support.

Снимок экрана 2024-05-17 в 19 55 48

Currently, I am attempting to integrate a library using xcframework, but the project is not compiling for macOS. However, everything works fine for iOS.

Error example: /Users/name/Downloads/AppName/FirebaseBinaries/Frameworks/GoogleSignIn/AppAuth.xcframework:1:1 While building for macOS, no library for this platform was found in '/Users/name/Downloads/AppName/FirebaseBinaries/Frameworks/GoogleSignIn/AppAuth.xcframework'.

Снимок экрана 2024-05-17 в 20 05 38

I would appreciate assistance in resolving this problem and finding a way to successfully compile the project for macOS. Any recommendations or tips on this matter would be greatly appreciated.

mdmathias commented 4 months ago

We do not distribute GoogleSignIn as a framework. It looks like you're getting GoogleSignIn (and GTMAppAuth and AppAuth) via "FirebaseBinaries"? Is that right? If so, I'd suggest inquiring with the folks producing those frameworks.

mdmathias commented 4 months ago

Closing for now since this doesn't appear to be an issue related to this repo. Please let me know if that's incorrect.