larpon / QtFirebase

An effort to bring Google's Firebase C++ API to Qt + QML
MIT License
284 stars 83 forks source link

SFSafariViewController links error #54

Closed kshahim closed 6 years ago

kshahim commented 6 years ago

thanks for this wonderful project, after following the setup guidelines, I receive these errors:

Undefined symbols for architecture x86_64: "_OBJCCLASS$_SFSafariViewController", referenced from: objc-class-ref in FirebaseAuth(FIRAuthURLPresenter_f9c1670c7b472e1f12d82d1c6f46940a.o) "_OBJCCLASS$_FIRLifecycleEvents", referenced from: objc-class-ref in FirebaseRemoteConfig(RCNConfigExperiment_8bc114fd2122a8a3d08208ec2bfe88e0.o) "_OBJCCLASS$_FIRExperimentController", referenced from: objc-class-ref in FirebaseRemoteConfig(RCNConfigExperiment_8bc114fd2122a8a3d08208ec2bfe88e0.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

BUILD FAILED

it seems, SFSafariViewController is not found, is it due to the SDK or new policy on webiew? any hint is appreciated...

larpon commented 6 years ago

Hey @kshahim0 - thanks for trying the project out!

Uhm - I have never seen that error before. What version of the Firebase C++ SDK are you using? We haven't tested builds against 4.2.0 yet - everything should work with 4.1.0 though.

On first glimpse it look like it could be a problem outside QtFirebase. I'll try and build the example app against 4.2.0 and the latest iOS SDK and see if I get the same error

larpon commented 6 years ago

@kshahim0 - I found the error. It should be fixed in commit 954be10

The commit works with Firebase C++ SDK v4.2.0 Firebase iOS SDK v4.4.0, v4.5.0 and v4.6.0

The problem was a 1 documented and 1 undocumented missing framework inclusion:

Hope you can get it to work now.

kshahim commented 6 years ago

Thanks Larpon, now it is compiled successfully!

kshahim commented 6 years ago

Thanks Larpon, now it is compiled and running successfully

are there also support for Google or Facebook sign in?

thanks for this great project!

On 22 Nov 2017, at 12:55, Larpon notifications@github.com wrote:

Closed #54 https://github.com/Larpon/QtFirebase/issues/54.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Larpon/QtFirebase/issues/54#event-1353914042, or mute the thread https://github.com/notifications/unsubscribe-auth/AYKMohsysehexp22XhbUiXvlhhYphQoOks5s5AungaJpZM4QmbHr.

larpon commented 6 years ago

@kshahim0 - good to hear :)

Nope the Auth module is still partial - and only have functionality for email based user sign-in But I happen to know that @isipisi281 is supposedly working on some of it - what, where and when is unknown though

kshahim commented 6 years ago

Ok, thanks Larpon,

since two weeks i am working on this aspect to use full functionality of firebase auth, not yet succeeded

if you want I can participate on the Google, Facebook sign in, for the authentication part, I have time for it as i need them for my application :)

if yes, i need your guidance to give me direction for the implementation.

Let me know, Best, Kamal

On 22 Nov 2017, at 14:29, kamal shahim kshahim@gmail.com wrote:

Thanks Larpon, now it is compiled and running successfully

are there also support for Google or Facebook sign in?

thanks for this great project!

On 22 Nov 2017, at 12:55, Larpon <notifications@github.com mailto:notifications@github.com> wrote:

Closed #54 https://github.com/Larpon/QtFirebase/issues/54.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Larpon/QtFirebase/issues/54#event-1353914042, or mute the thread https://github.com/notifications/unsubscribe-auth/AYKMohsysehexp22XhbUiXvlhhYphQoOks5s5AungaJpZM4QmbHr.

larpon commented 6 years ago

That sounds awesome @kshahim0 - we can always use more hands :)

I'm not in-depth with the Auth contributions but I do know the implementations will require some native coding (e.g. Java and Objective-C) - I suggest you try to ask @isipisi281 and see how far he is? I'll be happy to help out with any questions regarding the QtFirebase project in general. I'm thinking you could split the burden between you - one takes Google and one takes Facebook?

We haven't got any official guidelines for code style yet, but we follow Qt's coding style as much as possible. You can try and read through one of the modules to maybe get an idea of how it all looks.

But basically a "full" contribution would include:

We currently hangout on Slack (https://qtmob.slack.com)

I think this still works: http://org-qtmob-slackin.herokuapp.com/

kshahim commented 6 years ago

Hi Larpon,

perfect, I have started reading the codes for firebase example and exploring them further in details.

I have joined also the Slack section.

I am going to ask isipisi281 right now to know how far is the development part, so we can split it to different parts.

I will keep you informed, Best, Kamal

On 23 Nov 2017, at 10:43, Larpon notifications@github.com wrote:

stub implementation https://github.com/Larpon/QtFirebase/tree/master/fake/src for unsupported platforms