[godot] Explicitly adds the flag needed to install the MoltenVK XCFramework.

Addtionally, updates the path needed for the installer to find the MoltenVK.xcframework as the path changed.
This commit is contained in:
Luke Ingram 2026-01-08 12:23:06 -04:00
parent 07b8d96e19
commit 65d7d4b8fe
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ elif [ "$platform" = "ios" ]; then
cp libgodot.ios.template_release.simulator.a ios_xcode/libgodot.ios.release.xcframework/ios-arm64_x86_64-simulator/libgodot.a
cp libgodot.ios.template_debug.arm64.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64/libgodot.a
cp libgodot.ios.template_debug.simulator.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64_x86_64-simulator/libgodot.a
cp -r ~/VulkanSDK/1.3.275.0/MoltenVK/MoltenVK.xcframework ios_xcode/
cp -r /Users/runner/VulkanSDK/1.3.275.0/macOS/lib/MoltenVK.xcframework ios_xcode/
rm -rf ios_xcode/MoltenVK.xcframework/{macos,tvos}*
rm -rf ios.zip
pushd ios_xcode

View File

@ -5,6 +5,6 @@ IFS=$'\n\t'
curl -L "https://sdk.lunarg.com/sdk/download/1.3.275.0/mac/vulkansdk-macos-1.3.275.0.dmg" -o /tmp/vulkan-sdk.dmg
hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \
--accept-licenses --default-answer --confirm-command install
--accept-licenses --default-answer --confirm-command install com.lunarg.vulkan.ios
# hdiutil detach /Volumes/vulkan-sdk
rm -f /tmp/vulkan-sdk.dmg