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
455 stars 181 forks source link

Remove GTMSessionFetcher module import #403

Closed mdmathias closed 2 months ago

mdmathias commented 2 months ago

This change removes the modular import of GTMSessionFetcher in GIDGoogleUser.h (e.g., @import GTMSessionFetcher) when building under SWIFT_PACKAGE in favor of #import <GTMSessionFetcher/GTMSessionFetcher.h>. The intention is to address lldb crashes when poing in the debug console when projects use both SPM and CocoaPods.

Fixes #396

mdmathias commented 2 months ago

Here is a toy sample project that uses both SPM and CocoaPods where GSI is a dep in CocoaPods using this branch. I am able to po without crashing LLDB.

LLDBCrash.zip