- Follow this comment: change it in your Podfile directly:
"pod 'GoogleSignIn', '>= 4.0.2'" to "pod 'GoogleSignIn', '< 5.0.0'"
OR
you change it in the GoogleSignInDependencies.xml (for future rebuilds of the XCode project):
File: /Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml
"`<iosPod name="GoogleSignIn" version=">=4.0.2" ...>`" to
"`<iosPod name="GoogleSignIn" version="< 5.0.0" ...>`"
If '<' symbol becomes red, then change it to '<'
Add Cocoapods to the Xcode workspace from iOS Resolver Settings
Make XCode build from Unity by selecting Xcode Workspace
Open .xcworkspace, not .xcodeproj
Add -ObjC as Other Linker Flags in target's build settings
Select Pods project, then select "GoogleUtilities" from left side under TARGETS, then select "Build Phases" tab and add "GoogleSignIn.framework" and "GoogleSignIn.bundle" under "Link Binary With Libraries" by clicking + sign
NOTE on point 6: As Unity adds the GoogleSignIn framework and bundle in Pods, but it couldn't able to add it's reference, so we have to do it explicitly. Remember these files are in your Pods folder
