mk-5 / gdx-fireapp

libGDX Firebase API
Apache License 2.0
65 stars 21 forks source link

Google Singin Fails with linker errors #63

Open prateekchandan opened 1 year ago

prateekchandan commented 1 year ago

Describe the bug The latest googleSignIn pod has moved some of the methods which the latest version 3.3.0 is still using which gives linker error when building app with IOS

I get linker error like

2022-12-20 21:43:04.516234+0530 ClassicCallbreak[25891:10521392] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GIDSignIn setClientID:]: unrecognized selector sent to instance 0x28327dfb0'
*** First throw call stack:
(0x19c1b9e88 0x1954e78d8 0x19c32e84c 0x19c1cffa0 0x19c238350 0x10552d0c0 0x10552ef4c 0x105529c70 0x105581458 0x1055d0844 0x1055d038c 0x1055cfdd4 0x1055cfe5c 0x1055de3e8 0x1055ddae0 0x1055db5c4 0x104ba8410 0x104bb54f8 0x104bb6df0 0x104bb6e98 0x104bb6a84 0x20083131c 0x19d866f9c 0x19d993edc 0x19e9bf740 0x19f006fd0 0x19f00619c 0x19c285f54 0x19c29232c 0x19c216210 0x19c22bba8 0x19c230ed4 0x1d552e368 0x19e70f3d0 0x19e70f034 0x1052674a4 0x10526681c 0x105265998 0x104d9a514 0x1055fb398 0x1055f13d4 0x1055f3c28 0x1055f3cbc 0x1055ebd48 0x1055e1314 0x1ba898960)
libc++abi: terminating with uncaught exception of type NSException

Google has a migration guide here, and we need to migrate to latest. Thanks

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Platform (please check one of the following):

Smartphone (please complete the following information only if platform is Android or iOS):

mk-5 commented 1 year ago

@prateekchandan good finding!

mk-5 commented 1 year ago

@prateekchandan can you give some more info about frameworks versions? I guess it;s because of incompatible Framework and bindings.

We are using pretty old bindings - version 1.16.SNAPSHOT (https://github.com/dkimitsa/robovm-robopods/tree/alt/firebase/ios-google-sign-in) / The latest version is 1.27.0

I will prepare an upgrade