Firebase-ios-sdk: GoogleSignIn SDK on Apple Silicon (M1)

Created on 22 Dec 2020  路  13Comments  路  Source: firebase/firebase-ios-sdk

Hi, I tried to build my project on an M1 machine after updating the Firebase SDK to 7.2.0-M1. However I still get this linking error on GoogleSignIn SDK.
I'm not sure this is the right place to report it but the project itself does not have a repo and I supposed it's part of the same family.

This is the error:

ld: in .../Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(GIDEMMErrorHandler_3a47e13d8ca81b41e9cdb7ef5468004a.o), building for iOS Simulator, but linking in object file built for iOS, file '..../Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn' for architecture arm64

AppleSilicon GoogleSignIn feature request

Most helpful comment

@malcommac Sorry I don't have a timeline. This has also been raised at https://developer.apple.com/forums/thread/668320. I'll leave this issue open and update when we get an update from the GoogleSignIn team.

All 13 comments

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@malcolmdeck Sorry about the trouble. GoogleSignIn has not yet added support for the simulator on ARM-based Macs.

thank you for your info @paulb777 . Did you have a timeline for this or some place where I can stay updated?

@malcommac Sorry I don't have a timeline. This has also been raised at https://developer.apple.com/forums/thread/668320. I'll leave this issue open and update when we get an update from the GoogleSignIn team.

Thank you I'll continue to follow this thread

+1

The GoogleSignIn SDK hasn't seen an update in more than an year, so it's not looking good...

+1

The GoogleSignIn SDK hasn't seen an update in more than an year, so it's not looking good...

Did you know if there are alternatives? I would check if it鈥檚 still possible by implementing it manually.

+1
The GoogleSignIn SDK hasn't seen an update in more than an year, so it's not looking good...

Did you know if there are alternatives? I would check if it鈥檚 still possible by implementing it manually.

Yeah I would like to know if it's possible to implement manually. This issue is killer.

+1

+1

+1
The GoogleSignIn SDK hasn't seen an update in more than an year, so it's not looking good...

Did you know if there are alternatives? I would check if it鈥檚 still possible by implementing it manually.

Yes there is. Google sign in is basically using OAuth so you can manually implementing it using URLSession and/or a WKWebView.

+1
The GoogleSignIn SDK hasn't seen an update in more than an year, so it's not looking good...

Did you know if there are alternatives? I would check if it鈥檚 still possible by implementing it manually.

Yes there is. Google sign in is basically using OAuth so you can manually implementing it using URLSession and/or a WKWebView.

I鈥檓 not sure it鈥檚 possible anymore; google blocked login from embedded browsers in 2017; the only way is to jump in safari out of the app.
https://auth0.com/blog/google-blocks-oauth-requests-from-embedded-browsers/

Workaround that I am using is running Xcode with Rosetta 2.
It's an issue with the pod running natively on Apple Silicon so for simulator and the SwiftUI canvas, it can be run through Rosetta.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

skuske picture skuske  路  3Comments

jaumard picture jaumard  路  3Comments

PierBover picture PierBover  路  3Comments

lorenzofiamingo picture lorenzofiamingo  路  3Comments

jlaws picture jlaws  路  4Comments