Skip to content

Conversation

@stuartcarnie
Copy link
Contributor

Depends:

Adds support for building visionOS and tvOS templates

iOS builds now use the godot-embedded build container, like visionOS
(and eventually tvOS).

Refactored iOS build script to be easier to maintain and duplicate
for visionOS.

Co-authored-by: Rémi Verschelde <[email protected]>
@akien-mga
Copy link
Member

akien-mga commented Jun 13, 2025

I updated the commit with the following changes:

  • Refactored iOS build script to be easier to maintain and less error prone
  • Build iOS with godot-appleembedded too, and we drop the ios container
  • Fix some errors in visionOS build script sometimes still using "IOS" and thus the wrong SDK (notably Mono builds were broken)
  • Remove tvOS build script as it was incomplete, and we don't have tvOS support upstream yet. It's easy enough to recreate (by adapting what will be the then-state of build-ios) once we have support for tvOS upstream.

I made a test build and everything seems to be working.

@akien-mga akien-mga changed the title Apple: add visionOS and tvOS build support; unify build container Apple: add visionOS build support; unify build container Jun 13, 2025
@akien-mga
Copy link
Member

I'm doing another full build test with the latest versions of both godotengine/build-containers#154 and this PR to confirm I didn't introduce bugs with my last tweaks.

Then we should be good to merge and ready for 4.5 beta 1 with visionOS templates! 🎉

@akien-mga
Copy link
Member

Tested all the build process successfully!

What's missing now is just confirming that the builds are actually usable to export to visionOS (and iOS as we changed the setup a bit so we should validate it).

I'm curious to also get test reports for the C# support for visionOS. We haven't done any bespoke setup for it, does it Just Work™? (I doubt it, and I see we have quite a bit of iOS references in modules/mono but no visionOS, so this likely needs to be added.)

So we should probably disable the Mono builds for visionOS for now.

@stuartcarnie
Copy link
Contributor Author

@akien-mga I have not tested C#, but I suspect you are right, so disabling for now is probably a good idea. I can explore that next.

@stuartcarnie
Copy link
Contributor Author

I had a look in modules/mono, and I saw APPLE_EMBEDDED_ENABLED, so perhaps it does Just Work™? The architectures are both arm64.

@akien-mga
Copy link
Member

I'm pretty sure the C# support won't work as is, but let's include it anyway and we'll iterate upon it later.

@akien-mga akien-mga merged commit 7cc22b8 into godotengine:main Jun 16, 2025
@akien-mga
Copy link
Member

Thanks! Amazing work 🎉

@stuartcarnie stuartcarnie deleted the appleembedded branch June 18, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants