If you need to build the libgodot engine sources locally to create the xcframework artifacts, follow these steps using scons from the godot checkout.
macOS (Metal-only, no MoltenVK)
scons platform=macos arch=arm64 target=template_release library_type=shared_library vulkan=no metal=yes disable_path_overrides=no
scons platform=macos arch=x86_64 target=template_release library_type=shared_library vulkan=no metal=yes disable_path_overrides=no
iOS (Metal-only runtime)
scons platform=ios arch=arm64 simulator=no target=template_release vulkan=no metal=yes disable_path_overrides=no
scons platform=ios arch=arm64 simulator=yes target=template_release vulkan=no metal=yes disable_path_overrides=no
scons platform=ios arch=x86_64 simulator=yes target=template_release vulkan=no metal=yes disable_path_overrides=no
After building, use the make zip command in the SwiftGodotKit/scripts directory to package the artifacts into the expected .xcframework and .zip formats.
# Package everything after building
cd SwiftGodotKit/scripts
make zip