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.
@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.
@cengiz I’m using the ios share plugin for iOS and it’s working great! I was wondering if it’s possible to change the icon of the image when sharing a texture? The small image that shows up next to the name of the texture being shared.