Open congcoi123 opened 1 year ago
hi hi! :)
mhmm I think it could be somehow related to arch of firebase libraries. Do you have arm64 iOS simulator? Which version of firebase sdk have you downloaded?
@mk-5 Hi, thank you so much for your feedback.
build.gradle
looks like this:
I also copied libraries from the example:
@congcoi123
okay, that make sense - I mean error :) error tell us: 'building for iOS, but linkink in object file built for iOS Simulator'
The problem is with the frameworks you copied from the e2e project. There are different framework builds for simulator, and different for device. E2E projects build are limited to the simulator frameworks. You need to grab a fresh copy of frameworks from firebase, and use them. I guess it should solve the problem
@mk-5 Thanks for your reply. Could you please let me know where can I get those fresh copies?
@congcoi123 I think that Firebase SDK is available on firebase site, or github repo. We are using those bindings at the moment: https://github.com/dkimitsa/robovm-robopods/tree/1.18.0-SNAPSHOT/firebase - so you need firebase sdk 8.x
https://github.com/firebase/firebase-ios-sdk/releases?page=2
Pretty old version, I think I need to update bindings soon :)
@mk-5 Thanks for your prompt reply. I will give it a try.
Hi @mk-5, it can be compiled and even initialize the FireApp without any issues as I followed your instructions. I appreciate it. However, when I try to log in by GG, the following issue is thrown. Do you have any idea what is the cause and how to fix it? Thank you for your time.
@congcoi123 mhmm have no idea, client id should be there, but yes ... it really looks like there is a problem with that line: https://github.com/mk-5/gdx-fireapp/blob/master/gdx-fireapp-ios/src/pl/mk5/gdx/fireapp/ios/auth/GoogleAuthProvider.java#LL51C13-L51C100
ClientID should come from your GoogleService-Info.plist
Hi team, Thanks so much for your efforts working on this awesome project. I am trying to integrate this into my project but encountering this issue. Have you ever coped with it?
I am looking forward to your support.