You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[google_sign_in] Update to GoogleSignIn-iOS 10 #194435
google_sign_in_ios depends on GoogleSignIn ~> 9.0, which (via GTMAppAuth 5) limits gtm-session-fetcher to < 4.0. This conflicts with packages that require gtm-session-fetcher 5.x, e.g. ARCore iOS SDK 1.56.0 (5.0.0..<6.0.0), the first version available via Swift Package Manager.
GoogleSignIn-iOS 10.0.0 allows gtm-session-fetcher3.3.0..<6.0.0 (GTMAppAuth 6), so updating would resolve this. Note that 10.0.0 requires iOS 15.
Reacted by jt274, Bohdan D, Arnout van der Vorst, shivaduke28, Tommy, Mehmet Esen, Samrat Al Shahriar, Minseok Kang, Nestor Sebastian Garzon Contreras, Mathieu Dejean-Servieres and 20 more
@takumiito271 Thanks for the report. routing to the team-ios for further investigation.
@takumiito271 Could you please share the dependency resolution error you encountered when using google_sign_in_ios alongside ARCore iOS SDK 1.56.0? This would help the team investigate the dependency conflict.
error: Dependencies could not be resolved because root depends on 'googlesignin-ios' 9.0.0..<10.0.0 and root depends on 'arcore-ios-sdk' 1.56.0.
'arcore-ios-sdk' is incompatible with 'googlesignin-ios' because 'googlesignin-ios' 9.2.0 depends on 'gtm-session-fetcher' 3.3.0..<4.0.0 and 'arcore-ios-sdk' 1.56.0 depends on 'gtm-session-fetcher' 5.0.0..<6.0.0.
'googlesignin-ios' {9.0.0..<9.2.0, 9.2.1..<10.0.0} practically depends on 'gtm-session-fetcher' 3.3.0..<4.0.0 because 'googlesignin-ios' 9.1.0 depends on 'gtm-session-fetcher' 3.3.0..<4.0.0.
'googlesignin-ios' {9.0.0..<9.1.0, 9.1.1..<9.2.0, 9.2.1..<10.0.0} practically depends on 'gtm-session-fetcher' 3.3.0..<4.0.0 because no versions of 'googlesignin-ios' match the requirement {9.0.1..<9.1.0, 9.1.1..<9.2.0, 9.2.1..<10.0.0} and 'googlesignin-ios' 9.0.0 depends on 'gtm-session-fetcher' 3.3.0..<4.0.0
Adding another real-world conflict with the same root cause, in case it helps prioritise: google_sign_in_ios 6.3.7 cannot be resolved together with firebase_messaging 17.0.0 (firebase-ios-sdk 13.0.0) under Swift Package Manager.
Resolver output from flutter build ios (SPM enabled; CocoaPods is not an option for us because sentry_flutter requires SPM):
Failed to resolve dependencies:
'firebase_messaging-17.0.0' depends on 'firebase-ios-sdk' 13.0.0 and
'google_sign_in_ios-6.3.7' depends on 'googlesignin-ios' 9.0.0..<10.0.0.
'googlesignin-ios' 9.x depends on 'gtm-session-fetcher' 3.3.0..<4.0.0
'firebase-ios-sdk' 13.0.0 depends on 'gtm-session-fetcher' 4.0.0..<6.0.0
Same cause as described above (GoogleSignIn 9 -> GTMAppAuth 5 caps gtm-session-fetcher below 4).
Note that just moving to GoogleSignIn-iOS 10.0.0 is not enough for Firebase 13: I tested the 10.0.0 manifest and it still fails, because GoogleSignIn-iOS 10.0.0 pins app-check 11.x while firebase-ios-sdk 13.0.0 requires app-check 12.x:
'firebase-ios-sdk' 13.0.0 depends on 'app-check' 12.0.0..<13.0.0
The change that allows app-check 11 and 12 is google/GoogleSignIn-iOS#626 ("Add SPM AppCheckCore 12.x support"), which is still open. So updating google_sign_in_ios to GoogleSignIn-iOS 10 will only unblock Firebase 13 users once a GoogleSignIn-iOS release that includes #626 ships.
For anyone hitting this now, the workarounds are staying on the Firebase 12 line (firebase_core 4.x / firebase_messaging 16.x / firebase_analytics 12.x) or vendoring google_sign_in_ios with its Package.swift pointed at a GoogleSignIn-iOS revision that contains #626.
Reacted by Arnout van der Vorst, Tommy, Thiago F. and Kishan Dhankecha
A data point from the Firebase side, plus two details that I think change the scope of this.
1. Widening the SPM range is not sufficient on its own. GoogleSignIn-iOS 10.0.0 raises its own minimum to iOS 15 / macOS 12, while the plugin currently declares:
SPM rejects a package whose dependency requires a higher platform minimum than the package itself declares, so the deployment targets have to move together with the version range. That makes this a breaking change for google_sign_in_ios — and therefore a coordinated major bump with google_sign_in — rather than the one-line dependency widening it looks like at first.
2. It will not unblock the firebase-ios-sdk 13 reports in this thread. We hit the same resolver error reported above (via firebase_remote_config 7.0.0 → firebase-ios-sdk 13.0.0) and carried the four changes above as a fork. The resolver then gets past gtm-session-fetcher and fails on AppCheck instead:
'firebase-ios-sdk' 13.0.0 depends on 'app-check' 12.0.0..<13.0.0 and
'googlesignin-ios' 10.0.0 depends on 'app-check' 11.0.0..<12.0.0
GoogleSignIn-iOS 10.0.0 (2026-09-04) predates AppCheck 12.0.0 (2026-09-23), so no current GoogleSignIn-iOS release can coexist with firebase-ios-sdk 13. That part is upstream of this package — filed as google/GoogleSignIn-iOS#655.
So this is still worth doing for the ARCore case in the original report. We have rolled back to the firebase-ios-sdk 12 generation in the meantime.
That makes this a breaking change for google_sign_in_ios
Updating a plug-in's minimum OS versions to match the current Flutter minimum versions is not a breaking change, it just requires updating the min Flutter SDK version at the same time.
Getting the same version solving issue when compiling my app for ios/MacOs. gtm-session-fetcher version should be upgraded to 4.x
Error: An error occurred when adding Swift Package Manager integration:
Error: Xcode failed to resolve Swift Package Manager dependencies:
2026-10-21 00:06:47.279 xcodebuild[55402:1245356] Writing error result bundle to
/var/folders/85/6jq8m3911fb_b671ymz6_v5r0000gn/T/ResultBundle_2026-21-10_12-06-0047 AM.xcresult
xcodebuild: error: Could not resolve package dependencies:
Failed to resolve dependencies Dependencies could not be resolved because
'firebase_storage-14.0.0' depends on 'firebase-ios-sdk' 13.0.0 and 'google_sign_in_ios-6.3.8'
depends on 'googlesignin-ios' 9.0.0..<10.0.0.
'firebase-ios-sdk' is incompatible with 'googlesignin-ios' because 'googlesignin-ios' 9.2.0 depends
on 'gtm-session-fetcher' 3.3.0..<4.0.0 and 'firebase-ios-sdk' 13.0.0 depends on
'gtm-session-fetcher' 4.0.0..<6.0.0.
'googlesignin-ios' {9.0.0..<9.2.0, 9.2.1..<10.0.0} practically depends on 'gtm-session-fetcher'
3.3.0..<4.0.0 because 'googlesignin-ios' 9.1.0 depends on 'gtm-session-fetcher' 3.3.0..<4.0.0.
'googlesignin-ios' {9.0.0..<9.1.0, 9.1.1..<9.2.0, 9.2.1..<10.0.0} practically depends on
'gtm-session-fetcher' 3.3.0..<4.0.0 because no versions of 'googlesignin-ios' match the requirement
{9.0.1..<9.1.0, 9.1.1..<9.2.0, 9.2.1..<10.0.0} and 'googlesignin-ios' 9.0.0 depends on
'gtm-session-fetcher' 3.3.0..<4.0.0.
Encountered the same dependency resolution conflict when building for iOS with Swift Package Manager on Flutter 3.47 using firebase_performance: 0.12.1 (firebase-ios-sdk 13.1.1) and google_sign_in_ios: 6.3.8 (googlesignin-ios 9.0.0..<10.0.0):
xcodebuild: error: Could not resolve package dependencies:
Failed to resolve dependencies Dependencies could not be resolved because 'firebase_performance-0.12.1' depends on
'firebase-ios-sdk' 13.1.1 and 'google_sign_in_ios-6.3.8' depends on 'googlesignin-ios' 9.0.0..<10.0.0.
'firebase-ios-sdk' is incompatible with 'googlesignin-ios' because 'googlesignin-ios' 9.2.0 depends on
'gtm-session-fetcher' 3.3.0..<4.0.0 and 'firebase-ios-sdk' 13.1.1 depends on 'gtm-session-fetcher' 4.0.0..<6.0.0.
'googlesignin-ios' {9.0.0..<9.2.0, 9.2.1..<10.0.0} practically depends on 'gtm-session-fetcher' 3.3.0..<4.0.0
because 'googlesignin-ios' 9.1.0 depends on 'gtm-session-fetcher' 3.3.0..<4.0.0.
'googlesignin-ios' {9.0.0..<9.1.0, 9.1.1..<9.2.0, 9.2.1..<10.0.0} practically depends on 'gtm-session-fetcher'
3.3.0..<4.0.0 because no versions of 'googlesignin-ios' match the requirement {9.0.1..<9.1.0, 9.1.1..<9.2.0,
9.2.1..<10.0.0} and 'googlesignin-ios' 9.0.0 depends on 'gtm-session-fetcher' 3.3.0..<4.0.0.
We're hitting this too: firebase_messaging 17.0.1 / firebase_core 5.1.0 (firebase-ios-sdk 13.1.1) with google_sign_in_ios 6.3.8, SwiftPM, Flutter 3.47.7, Xcode 26.6. Same gtm-session-fetcher resolver error as above.
A data point for flutter/packages#13306: I applied its Package.swift change ("9.0.0"..<"11.0.0", iOS 15 / macOS 12) to a local copy of google_sign_in_ios 6.3.8 through dependency_overrides, and flutter build ios now succeeds. SwiftPM resolved:
So with GoogleSignIn-iOS 10.1.0, which includes google/GoogleSignIn-iOS#626, the AppCheck conflict mentioned earlier no longer applies, and flutter/packages#13306 on its own is enough to unblock Firebase 13. I only tested a build, not a sign-in flow on a device.
Firebase SDK requirement:firebase_remote_config-7.0.1 depends on firebase-ios-sdk 13.1.1, which strictly requires gtm-session-fetcher version 4.0.0..<6.0.0.
Google Sign-In requirement:google_sign_in_ios-6.3.5 depends on googlesignin-ios (e.g., v9.2.0), which strictly requires gtm-session-fetcher version 3.3.0..<4.0.0.
Activity
suryaKommana2662 commentedon Oct 15, 2026
@takumiito271 Thanks for the report. routing to the
team-iosfor further investigation.@takumiito271 Could you please share the dependency resolution error you encountered when using
google_sign_in_iosalongside ARCore iOS SDK 1.56.0? This would help the team investigate the dependency conflict.takumiito271 commentedon Oct 15, 2026
Nazarovv676 commentedon Oct 15, 2026
Adding another real-world conflict with the same root cause, in case it helps prioritise:
google_sign_in_ios6.3.7 cannot be resolved together withfirebase_messaging17.0.0 (firebase-ios-sdk 13.0.0) under Swift Package Manager.Resolver output from
flutter build ios(SPM enabled; CocoaPods is not an option for us becausesentry_flutterrequires SPM):Same cause as described above (GoogleSignIn 9 -> GTMAppAuth 5 caps
gtm-session-fetcherbelow 4).Note that just moving to GoogleSignIn-iOS 10.0.0 is not enough for Firebase 13: I tested the 10.0.0 manifest and it still fails, because GoogleSignIn-iOS 10.0.0 pins
app-check11.x while firebase-ios-sdk 13.0.0 requiresapp-check12.x:The change that allows
app-check11 and 12 is google/GoogleSignIn-iOS#626 ("Add SPM AppCheckCore 12.x support"), which is still open. So updatinggoogle_sign_in_iosto GoogleSignIn-iOS 10 will only unblock Firebase 13 users once a GoogleSignIn-iOS release that includes #626 ships.For anyone hitting this now, the workarounds are staying on the Firebase 12 line (
firebase_core4.x /firebase_messaging16.x /firebase_analytics12.x) or vendoringgoogle_sign_in_ioswith itsPackage.swiftpointed at a GoogleSignIn-iOS revision that contains #626.qeepcologne commentedon Oct 16, 2026
A data point from the Firebase side, plus two details that I think change the scope of this.
1. Widening the SPM range is not sufficient on its own. GoogleSignIn-iOS 10.0.0 raises its own minimum to iOS 15 / macOS 12, while the plugin currently declares:
darwin/google_sign_in_ios/Package.swift:.iOS("13.0"),.macOS("10.15")darwin/google_sign_in_ios.podspec:s.ios.deployment_target = '13.0',s.osx.deployment_target = '10.15'SPM rejects a package whose dependency requires a higher platform minimum than the package itself declares, so the deployment targets have to move together with the version range. That makes this a breaking change for
google_sign_in_ios— and therefore a coordinated major bump withgoogle_sign_in— rather than the one-line dependency widening it looks like at first.The four changes involved:
2. It will not unblock the firebase-ios-sdk 13 reports in this thread. We hit the same resolver error reported above (via
firebase_remote_config7.0.0 →firebase-ios-sdk13.0.0) and carried the four changes above as a fork. The resolver then gets pastgtm-session-fetcherand fails on AppCheck instead:GoogleSignIn-iOS 10.0.0 (2026-09-04) predates AppCheck 12.0.0 (2026-09-23), so no current GoogleSignIn-iOS release can coexist with firebase-ios-sdk 13. That part is upstream of this package — filed as google/GoogleSignIn-iOS#655.
So this is still worth doing for the ARCore case in the original report. We have rolled back to the firebase-ios-sdk 12 generation in the meantime.
Tom3652 commentedon Oct 17, 2026
The main blocker remains about the latest firebase-ios-sdk 13.0.0 which we can't use for now.
stuartmorgan commentedon Oct 17, 2026
Updating a plug-in's minimum OS versions to match the current Flutter minimum versions is not a breaking change, it just requires updating the min Flutter SDK version at the same time.
najibkr commentedon Oct 20, 2026
Getting the same version solving issue when compiling my app for ios/MacOs.
gtm-session-fetcherversion should be upgraded to 4.xAnullos commentedon Oct 30, 2026
Saifallak commentedon Oct 31, 2026
Encountered the same dependency resolution conflict when building for iOS with Swift Package Manager on Flutter 3.47 using
firebase_performance: 0.12.1(firebase-ios-sdk13.1.1) andgoogle_sign_in_ios: 6.3.8(googlesignin-ios9.0.0..<10.0.0):Looking forward to flutter/packages#13306 being merged.
masteradit commentedon Nov 2, 2026
We're hitting this too:
firebase_messaging17.0.1 /firebase_core5.1.0 (firebase-ios-sdk13.1.1) withgoogle_sign_in_ios6.3.8, SwiftPM, Flutter 3.47.7, Xcode 26.6. Samegtm-session-fetcherresolver error as above.A data point for flutter/packages#13306: I applied its
Package.swiftchange ("9.0.0"..<"11.0.0", iOS 15 / macOS 12) to a local copy ofgoogle_sign_in_ios6.3.8 throughdependency_overrides, andflutter build iosnow succeeds. SwiftPM resolved:So with GoogleSignIn-iOS 10.1.0, which includes google/GoogleSignIn-iOS#626, the AppCheck conflict mentioned earlier no longer applies, and flutter/packages#13306 on its own is enough to unblock Firebase 13. I only tested a build, not a sign-in flow on a device.
docthubmobileapp commentedon Nov 2, 2026
hardiklakhalani commentedon Nov 4, 2026
In my case I'm getting this:
firebase_remote_config-7.0.1depends onfirebase-ios-sdk13.1.1, which strictly requiresgtm-session-fetcherversion4.0.0..<6.0.0.google_sign_in_ios-6.3.5depends ongooglesignin-ios(e.g., v9.2.0), which strictly requiresgtm-session-fetcherversion3.3.0..<4.0.0.[google_sign_in] Allow GoogleSignIn-iOS 10 (flutter#13306)