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.
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.
This change removes the modular import of
GTMSessionFetcher
inGIDGoogleUser.h
(e.g.,@import GTMSessionFetcher
) when building underSWIFT_PACKAGE
in favor of#import <GTMSessionFetcher/GTMSessionFetcher.h>
. The intention is to address lldb crashes whenpo
ing in the debug console when projects use both SPM and CocoaPods.Fixes #396