This repo contains a starter Xcode and SCons configuration to build Godot plugin for iOS.
Xcode project and Scons configuration allows to build static .a
library, that could be used with .gdip
file as Godot's plugin to include platform functionality into exported application.
To build iOS plugin library it's required to have Godot's header files including generated ones. So running scons platform=iphone target=<release|debug|release_debug>
in godot
submodule folder is required.
Building project should be enough to build a .a
library that could be used with .gdip
file.
Running scons platform=ios arch=<arch> target=<release|debug|release_debug> target_name=<library_name> version=<3.2|4.0>
would result in plugin library for specific platform.
Compiling for multiple archs and using lipo -create .. -output ..
might be required for release builds.