Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GTMSessionFetcher module import #403

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

mdmathias
Copy link
Collaborator

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
Copy link
Collaborator Author

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

@mdmathias mdmathias merged commit 4b4f14b into main May 7, 2024
12 of 13 checks passed
@mdmathias mdmathias deleted the mdmathias/fix-lldb-crash branch May 7, 2024 18:20
@aykutguvendh aykutguvendh mentioned this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrading to 7.1.0 from 7.0.0, now we can't po anything in lldb due to GTMSessionFetcher import issue.
2 participants