Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined symbols for architecture arm64 #4

Open
jclover-collums opened this issue Sep 15, 2022 · 5 comments
Open

Undefined symbols for architecture arm64 #4

jclover-collums opened this issue Sep 15, 2022 · 5 comments

Comments

@jclover-collums
Copy link

I'm using an M1 Machine to build a Godot Mobile Game. However, I am receiving the following error after installing this lib using XCode:

Undefined symbols for architecture arm64:
  "Object::emit_signal(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&)", referenced from:
      ATT::requestTracking() in ios-att.a(godot_plugin_class.o)
      ____ZN3ATT15requestTrackingEv_block_invoke in ios-att.a(godot_plugin_class.o)
     (maybe you meant: Object::emit_signal(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&))
ld: symbol(s) not found for architecture arm64

I have no idea how to fix this, suggestions would be appreciated.

@rzuf79
Copy link

rzuf79 commented Sep 16, 2022

Seems like we both encountered the same issue yesterday. Ha!
The problem is emit_signal method - its signature got changed with 3.5 version of Godot.
I rebuilt the plugin and it works fine for me: https://github.com/rzuf79/godot-ios-plugins/releases/tag/3.5.0

@jclover-collums
Copy link
Author

Hero! I ended up going ahead and just writing my own ATT plugin following the GameCenter plugin approach (event queue). I'm still fairly new to Godot, so it's been a bit of a learning curve with Scons + Export Templates!

@jclover-collums
Copy link
Author

I'll leave this open as it does actually need fixing in this repo I guess!

@rzuf79
Copy link

rzuf79 commented Sep 17, 2022

Nice!
Yea, I get you. Dealing with this stuff is always scary and annoying for me. :D

@pedropps2
Copy link

This saved me a ton of time, thanks guys. Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants