godot_ios_plugin
godot_ios_plugin copied to clipboard
issue building on xcode 14
Hi! trying to build a plugin will generate a bunch of errors - "could not build module 'Darwin'" / "could not build module 'coreFoundation'"
anyone can help with that?
Hi @yan88a , have u fixed the problem? can you share the solution ?
@JadeGeek, unfortunately no.. couldnt get the plugin template to work no matter what i tried... wrote editor extensions (custom build templates) instead... (which is by no means not a good solution... )
@JadeGeek @yan88a We are facing similar problem right now as well. Any update about this will be helpful and appreciated. We are using XCode 14 and trying to build plugin for godot 4.0.
Same problem here
Yes, same stuff. 3.6.beta2.
@ksvslk I did get a GDnative iOS project compiling.
https://github.com/WoodShack/godot-local-notification
At the bottom of the readme it their are instructions on how to compile the iOS portion.
You should be able to change the iOS portion to do what you need.
@ksvslk I did get a GDnative iOS project compiling.
https://github.com/WoodShack/godot-local-notification
At the bottom of the readme it their are instructions on how to compile the iOS portion.
You should be able to change the iOS portion to do what you need.
I'm not sure I understand correctly this. I should make a GDNative module instead of iOS plugin? What are the differences here? Is it more work?
The problem was that the header search paths included some paths that are conflicting with godot files or something :) It was fixed: https://github.com/godotengine/godot-ios-plugins/pull/35/commits/dea1966f9ca8831968704d04f482e969ed00c9ff
Current example still has some paths in headers search that are in conflict. So remove those in your Xcode project.
The final Header Search Paths should look like this:
$(SRCROOT)/godot
$(SRCROOT)/godot/platform/iPhone
$(SRCROOT)/
Do this and hopefully print out "1" with the plugin!
@ksvslk Thank you for your suggestion. After removing the conflicting paths and update the header, I was able to build the template.