Skip to content

Replace iOS/visionOS Xcode templates by new Apple embedded template #107789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rsanchezsaez
Copy link
Contributor

@rsanchezsaez rsanchezsaez commented Jun 21, 2025

This PR is builds on #105628 by unifying the iOS and visionOS Xcode project template files into a new Apple embedded Xcode project template.

The templates were largely identical, with a few set of small changes between them.

The new EditorExportPlatformAppleEmbedded::_process_config_file_line() function has been overridden on the iOS and visionOS export plugins to provide the specific values needed for each platform.

I verified that the iOS and visionOS templates continue to build successfully, and have successfully exported and run the platformer sample for both platforms.

(I suggest we target this to 4.6, no need to risk a regression in 4.5 while in beta.)

cc @stuartcarnie @bruvzg

@rsanchezsaez rsanchezsaez requested review from a team as code owners June 21, 2025 02:58
Copy link
Contributor

@stuartcarnie stuartcarnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, @rsanchezsaez – always nice when there is less code for the same functionality 👏🏻 💯

@BastiaanOlij
Copy link
Contributor

I don't think I can offer much input here that @bruvzg and @stuartcarnie don't have a far more informed opinion on. I'm all for improving unifying this code as it will make future maintenance easier, and this looks like excellent work.

Copy link
Member

@bruvzg bruvzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rsanchezsaez
Copy link
Contributor Author

@bruvzg Thank you for the review! Build scripts PR: godotengine/godot-build-scripts#121

@rsanchezsaez rsanchezsaez force-pushed the apple/apple-embedded-export-template branch from 1100cc5 to 290a51b Compare June 30, 2025 20:34
@rsanchezsaez
Copy link
Contributor Author

@AThousandShips Thanks for the review! Addressed your comments.

@rsanchezsaez rsanchezsaez force-pushed the apple/apple-embedded-export-template branch from 290a51b to 4cff673 Compare June 30, 2025 23:29
@rsanchezsaez rsanchezsaez force-pushed the apple/apple-embedded-export-template branch from 4cff673 to 1c2f8eb Compare July 1, 2025 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants