AdditionalSetup
iOS Frameworks Setup
Download and setup iOS frameworks for Google Sign-In on iOS
iOS Frameworks Setup
These frameworks are required for Google Sign-In functionality on iOS.
Required Frameworks
The following frameworks need to be downloaded and installed:
- GoogleSignIn - Main Google Sign-In framework
- AppAuth - OAuth 2.0 library
- GTMAppAuth - Google Toolbox for Mac AppAuth
- GTMSessionFetcher - HTTP fetching library
- GoogleUtilities - Google utility functions
- nanopb - Protocol Buffers library
- RecaptchaInterop - reCAPTCHA support
Download
- Visit Google Sign-In for iOS
- Download the Google Sign-In SDK for iOS
- Alternatively, use CocoaPods or Swift Package Manager
Using CocoaPods
Add to your Podfile:
pod 'GoogleSignIn', '~> 7.0'Manual Download
Download frameworks directly from:
Installation
-
Navigate to your plugin folder:
Plugins/UltimateCrossplayIntegrationKit/Source/ThirdParty/GoogleOneTapLibrary/IOS/Frameworks/ -
Extract and copy the following
.frameworkor.xcframeworkfolders:GoogleSignIn.xcframeworkAppAuth.xcframeworkGTMAppAuth.xcframeworkGTMSessionFetcher.xcframeworkGoogleUtilities.xcframework
-
Regenerate your project files
Configuration
- Create a Google Cloud Project at Google Cloud Console
- Enable the Google Sign-In API
- Create OAuth 2.0 credentials for iOS
- Add your iOS Bundle ID and configure the URL Scheme
- Add the Client ID to your project settings