hansemannn / titanium-google-signin

Use the native Google Sign In SDK in Appcelerator Titanium.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impossible to run sample-app: Ld build/Products/Debug-iphonesimulator/TiGoogleSignIn.app/TiGoogleSignIn normal x86_64

Brianggalvez opened this issue · comments

When trying to run provided sample-app or adding module to other project the same error appears at building process:

Ld build/Products/Debug-iphonesimulator/TiGoogleSignIn.app/TiGoogleSignIn normal x86_64

build_iphone.log

Try to add -framework SafariServices to the module.xcconfig frameworks. Looks like Google added a new framework dependency lately

EDIT: Actually, it's there. No idea then.

Seems that there is a duplicate symbols issue with firebase.core module. Following these guides solved the issue:

duplicate symbols issue SO

gist with script

I do not think that is your issue. The error log says

[TRACE]  Undefined symbols for architecture x86_64:
[TRACE]    "_OBJC_CLASS_$_SSReadingList", referenced from:
[TRACE]        objc-class-ref in GoogleSignIn(please_link_SafariServices.framework__a757707182219759ed991fcb438fd284.o)
[TRACE]  ld: symbol(s) not found for architecture x86_64
[TRACE]  clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR]  ** BUILD FAILED **

Have you solved this? @chmiiller can you step in and check if the latest version still works for you as well?

Closing as cannot reproduce as I just tried it. But if it was the firebase.core module, you could contribute a hook that detects it and removes it if existing.

I am still facing this issue @hansemannn . Can you help me how to resolve this? Here is my error.

Ld build/Products/Debug-iphonesimulator/ABC.app/ABC normal x86_64

If I remove the Google-Signin module it works fine. So I think issue still exist with the latest version as well.

Is there a solution for these bug ?