You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thats not a plugin issue, but more of an ask for help with xcode & godot building process.
so - thanks for the help!
i downloaded the source code for the plugin and the extracted headers for v 3.5.1.
i work with xcode 14 & have scons installed.
Steps to reproduce
download the plugin source code.
download godot extracted headers for 3.5.1
add the search paths in xcode for the headers - $(SRCROOT)/godot, $(SRCROOT)/godot/platform/iPhone, $(SRCROOT)/
build the project in xcode - success! (build for any ios device)
copy the file from build folder (which for some reason builds as debug even when i change the config to build for release - probably doing something wrong --> but it should work too..).
add it to my project under ios --> add the gdip file (i used yours)
enable the plugin in the export settings.
export the project.
go the exported project, open it in xcode and build --> build fails with the following error:
Undefined symbol: ClassDB::bind_methodfi(unsigned int, MethodBind*, MethodDefinition const&, Variant const**, int)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Can you check the name of your plugin file, your initialization and deinitialization function in your plugin code. They all must match, if else godot will unable to register your plugin, so will cause build error.
Another thing you must pay attention is that when exporting for iOS, there will be a small checkbox Export with debug, like so:
If you just building for release, you have to uncheck that checkbox or else the plugin will not work.
I think you should build both debug and release file, something like:
yourplugin.debug.a
yourplugin.release.a
Put that along with gdip file with binary:
binary="yourplugin.a"
It will automatically work for both debug and release.
yep - think i had a naming gap - the [pluginName].release/debug.a did the trick and it compiles just fine.
have a small issue with not finding the plugin in run time, i do see it in the export screen, but for some reason the engine.has_singletone("...") wont return it - probably something with the naming - i'll poke it a bit more.
Godot version
3.5.1
Plugin version
v1
Phone information
iphone 11
Issue description
Thats not a plugin issue, but more of an ask for help with xcode & godot building process.
so - thanks for the help!
i downloaded the source code for the plugin and the extracted headers for v 3.5.1.
i work with xcode 14 & have scons installed.
Steps to reproduce
Undefined symbol: ClassDB::bind_methodfi(unsigned int, MethodBind*, MethodDefinition const&, Variant const**, int)
Additional context
No response
The text was updated successfully, but these errors were encountered: