Apple: visionOS and tvOS builds now supported; update to 26.4 SDKs#156
Closed
stuartcarnie wants to merge 1 commit intogodotengine:mainfrom
Closed
Apple: visionOS and tvOS builds now supported; update to 26.4 SDKs#156stuartcarnie wants to merge 1 commit intogodotengine:mainfrom
stuartcarnie wants to merge 1 commit intogodotengine:mainfrom
Conversation
This was referenced Apr 11, 2026
akien-mga
reviewed
Apr 13, 2026
Member
akien-mga
left a comment
There was a problem hiding this comment.
You also need to update the Swift version in build-macos/build.sh.
And likewise there we could move darwin25.1 to an env variable in the build container so we don't need to do updates like this every time we update SDKs.
| # Keep LTO disabled for iOS - it works but it makes linking apps on deploy very slow, | ||
| # which is seen as a regression in the current workflow. | ||
| export OPTIONS="production=yes use_lto=no SWIFT_FRONTEND=/root/.local/share/swiftly/toolchains/6.2.1/usr/bin/swift-frontend" | ||
| export OPTIONS="production=yes use_lto=no SWIFT_FRONTEND=/root/.local/share/swiftly/toolchains/6.3.0/usr/bin/swift-frontend" |
Member
There was a problem hiding this comment.
I think we should add a SWIFT_VERSION env to Dockerfile.osx so we can reuse it here and in the other places.
| export TERM=xterm | ||
|
|
||
| export IOS_SDK="26.1" | ||
| export IOS_SDK="26.4" |
Member
There was a problem hiding this comment.
I could tackle this in a follow-up, but we could also expose this as an env variable so we don't need to adjust build scripts every time we update the SDKs.
Contributor
Author
|
Closed in favour of the New Improved™: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on:
Changes in this PR:
build-tvos/build.sh, mirroringbuild-ios/build.shbut arm64-device only (no simulator) for both Classical and Mono templates. Outputs land underout/templates/libgodot.tvos*.aandout/templates-mono/libgodot.tvos*.a.godot-appleembeddedimage.Paired with the
build-containersPR that adds the Swift 6.3 toolchain to thegodot-appleembeddedimage and applies the necessary visionOS SDK patches.