Building iOS plugin in XCode 16.1

Godot Version

4.2.1

Question

Hi, has anyone managed to build an iOS plugin for godot using the latest XCode? I’m trying to build the example plugin from here: GitHub - naithar/godot_ios_plugin
And both building in XCode or with SCons results in errors starting with “could not build module ‘Foundation’'”
Any ideas where I’m going wrong?
Thanks!

1 Like

I’m running into the exact issue when building the base ios template.

Xcode 16.2
Godot 4.3

I ended up realising I didn’t need to use SCons at all. I’m now just building the plugin in XCode and it builds fine (then go to “product” → “show build folder in finder” to get the .a file)