![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | atopetrick |
I’m trying to implement Google Login in game. I add code in Modules/
directory, add google signIn frameworks n all.
In my config.py
file :
def can_build(env, plat):
return plat=="android" or plat=="iphone"
def configure(env):
if (env['platform'] == 'android'):
env.android_add_maven_repository("url 'https://maven.google.com'")
if env['platform'] == "iphone":
env.Append(FRAMEWORKPATH=['modules/GoogleGodot/ios/'])
env.Append(LINKFLAGS=['-ObjC','-framework', 'GoogleSignIn','-framework','GoogleSignInDependencies','-framework','SafariServices'])
There is GoogleSignIn.bundle
in GoogleSDK how can i add this in my module.
If i add GoogleSignIn.bundle
in above line then i receiving below error :
Undefined symbols for architecture arm64:
"_CTFontManagerRegisterGraphicsFont", referenced from:
___45+[NSBundle(GID3PAdditions) gid_registerFonts]_block_invoke in GoogleSignIn(NSBundle+GID3PAdditions_6d6613bc1cea93bb9b465ce92c46bfbb.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone have any idea how i can solve or add *.bundle
file??
did u already get the solution bro?
Garalax | 2020-10-12 17:05