Skip to content

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
@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