Important: StartingMay 1, 2024, ApplerequiresPrivacy Manifests and signatures for iOS applications that use commonly-used SDKs, including GoogleSignIn-iOS. Upgrade to GoogleSignIn-iOS v7.1.0+ before May 1, 2024. Followour upgrade guide.
TheGIDSignInDelegateprotocol has been removed in favor ofGIDSignInCallbackandGIDDisconnectCallbackblocks.
All sign-in flow configuration properties have been moved toGIDConfiguration.
TheGIDConfigurationclass had been added to represent the configuration needed to sign in a
user.
GIDAuthentication
getTokensWithHandler:is nowdoWithFreshTokens:.
TheGIDAuthenticationHandlertypedef has been renamedGIDAuthenticationAction.
refreshTokensWithHandler:has been removed, usedoWithFreshTokens:instead.
GIDSignInButtonno longer makes calls toGIDSignIninternally and will need to be wired to
anIBActionor similar in order for you to callsignInWithConfiguration:presentingViewController:callback:to initiate a sign-in flow.
5.0.2
Fixes the wrong error code being sent tosignIn:didSignInForUser:withError:when the user
cancels iOS's consent dialog during the sign-in flow.
5.0.1
Fixes an issue that the sign in flow cannot be correctly started on iOS 13.
The zip distribution requires Xcode 11 or above.
5.0.0
Changes to GIDSignIn
uiDelegatehas been replaced withpresentingViewController.
hasAuthInKeychainhas been replaced withhasPreviousSignIn.
signInSilentlyhas been replaced withrestorePreviousSignIn.
LocalizesGIDSignInButtonfor hi (Hindi) and fr-CA (French (Canada)).
Adds dependency to the systemLocalAuthenticationframework.
4.1.2
Addpod trysupport for the GoogleSignIn CocoaPod.
4.1.1
Fixes an issue thatGIDSignInUIDelegate'ssignInWillDispatch:error:was
not called on iOS 11. Please note that it is intended that neithersignIn:presentViewController:norsignIn:dismissViewController:is called
on iOS 11 because SFAuthenticationSession is not presented by the app's view
controller.
4.1.0
Uses SFAuthenticationSession on iOS 11.
4.0.2
No longer depends on GoogleAppUtilities.
4.0.1
Switches to open source pod dependencies.
Appearance of sign-in button no longer depends on requested scopes.
4.0.0
GoogleSignIn pod now takes form of a static framework. Import with#import <GoogleSignIn/GoogleSignIn.h>in Objective-C.
Adds module support. You can also use@import GoogleSignIn;in Objective-C,
if module is enabled, andimport GoogleSignInin Swift without using a
bridge-header.
For users of the stand-alone zip distribution, multiple frameworks are now
provided and all need to be added to a project. This decomposition allows more
flexibility in case of duplicated dependencies.
Allows setting theloginHintproperty onGIDSignInto prefill the user's
ID or email address in the sign-in flow.
Removed theUIViewController(SignIn)category as well as thedelegateproperty fromGIDSignInButton.
Requires thatuiDelegatehas been set properly onGIDSignInand that
SafariServices framework has been linked.
Removes the dependency on StoreKit.
Provides bitcode support.
Requires Xcode 7.0 or above due to bitcode incompatibilities with Xcode 6.
2.4.0
Updates sign-in button with the new Google logo.
Supports domain restriction for sign-in.
Allows refreshing ID tokens.
2.3.2
No longer requires Xcode 7.
2.3.1
Fixes a crash inGIDProfileData'simageURLWithDimension:.
2.3.0
Requires Xcode 7.0 or above.
Uses SFSafariViewController for signing in on iOS 9.uiDelegatemust be
set for this to work.
Optimizes fetching user profile.
Supports GTMFetcherAuthorizationProtocol in GIDAuthentication.
2.2.0
Compatible with iOS 9 (beta). Note that this version of the Sign-In SDK does
not include bitcode, so you must set ENABLE_BITCODE to NO in your project if
you use Xcode 7.
Adds descriptive identifiers for GIDSignInButton's Auto Layout constraints.
Adds API to refresh access token in GIDAuthentication.
Better exception description for unassigned clientID in GIDSignIn.
Other minor bug fixes.
2.0.1
Bug fixes
2.0.0
Supports sign-in via UIWebView rather than app switching to a browser,
configurable with the newallowsSignInWithWebViewproperty.
Now apps which have disabled the app switch to a browser via theallowsSignInWithBrowserand in-app web view viaallowsSignInWithWebViewproperties have the option to display a prompt instructing the user to
download the Google app from the App Store.
Fixes sign-in button sizing issue when auto-layout is enabled
signInSilentlynow calls the delegate with error whenhasAuthInKeychainisNOas documented
Other minor bug fixes
1.0.0
New sign-in focused SDK with refreshed API
Dynamically rendered sign-in button with contextual branding
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eGoogle Sign-In for iOS provides support for Firebase App Check to enhance security during sign-in with Google.\u003c/p\u003e\n"],["\u003cp\u003eVersion 8.0.0 introduces Firebase App Check support and updates minimum iOS support to iOS 12.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Sign-In for iOS underwent significant API updates in version 7.0.0 to enhance functionality and configuration.\u003c/p\u003e\n"],["\u003cp\u003eVersion 6.2.0 adds support for macOS, a SwiftUI "Sign in with Google" button, and the ability to request additional scopes during sign-in.\u003c/p\u003e\n"],["\u003cp\u003eThe SDK transitioned to open source in version 6.0.0 and introduced Swift Package Manager support along with API surface updates.\u003c/p\u003e\n"]]],[],null,[]]