Cengiz Share Plugin - ios

Godot Version

4.2.2

Question

The ios Plugin is not working I get the following errors on exporting the project as a .ipa to be compiled in XCode:

Undefined symbols for architecture arm64:
“ClassDB::bind_methodfi(unsigned int, MethodBind*, bool, char const*, Variant const**, int)”, referenced from:
SharePlugin::_bind_methods() in SharePlugin.release.a[arm64]3
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I’m on an Intel mac… is this error due to the fact I’m not compiling on Apple Silicon?

Please help! The share plugin works perfect for Android and I would like to continue using the same Share plugin for iOS and Android.

Any help is appreciated!

@cengiz Can you shed any light on this error in your iOS Share plugin for me?
I’m using the android version without issue.

Thanks!

@jbizlv, in your SharePlugin.gdip, the binary setting is for configuring which plugin binary to use; SharePlugin.release.a for production and SharePlugin.debug.a for testing. It looks like you’re using the production binary for testing. A quick fix is to update the binary line to binary="SharePlugin.a". Apparently, the system automatically handles the flavor selection.