Skip to content

Updated project format for Xcode 16 #1505

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
CraigSiemens opened this issue Sep 20, 2024 · 9 comments
Open

Updated project format for Xcode 16 #1505

CraigSiemens opened this issue Sep 20, 2024 · 9 comments

Comments

@CraigSiemens
Copy link
Contributor

Xcode 16 has introduced a new version of the project format. I believe it's mainly to support folder references

From the Xcode 16 release notes
https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes#Project-Management

Minimize project file changes, and avoid version control conflicts with buildable folder references.

Convert an existing group to a buildable folder with the “Convert to Folder” context menu item in the Project Navigator. Buildable folders only record the folder path into the project file without enumerating the contained files. This minimizes diffs to the project when files are added and removed, and avoids source control conflicts with your team.

To use a folder as an opaque copiable resource, the default behavior before Xcode 16, uncheck the “Build Folder Contents” option in the File Inspector. (123729918)

In theory this should allow for faster project generation when using folder references since xcodegen won't need to enumerate all the files in a source folder.

It appears like XcodeProj has already been updated to support the new types in the file format.

@erneestoc
Copy link
Contributor

🙏🏻 🙏🏻 🙏🏻

@bartosz-pawelczyk
Copy link

@yonaskolb

1 similar comment
@piotrsmajek
Copy link

@yonaskolb

@esnssr
Copy link

esnssr commented Feb 22, 2025

still no support for Xcode 16 folder format?

@funclosure
Copy link

would like to have the Xcode 16 Buildable Folder support indeed, 🙏

@yonaskolb
Copy link
Owner

Ok, I will try to find some time this week

@r0texx
Copy link

r0texx commented Apr 3, 2025

@yonaskolb
🙏🏻 🙏🏻 🙏🏻

@esnssr
Copy link

esnssr commented Apr 7, 2025

Ok, I will try to find some time this week

@yonaskolb thank you so much! ❤️🙏🏼

@yonaskolb
Copy link
Owner

Ok, so basic support has been added in this PR #1541
Please give it a spin and report back there about any issues. This will need some more work to support anything but the most basic integration.

If you have mint then you can run mint run yonaskolb/xcodegen@synced_folder to test it out. Be aware this includes changes from master of which there are a couple of breaking fixes to relative paths in included files, so check the changelog. I'll do a release without this feature now

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

No branches or pull requests

8 participants