0 votes

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??

asked May 20, 2019 in Engine by atopetrick (120 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.