Skip to content

Add support to Xcode 16 folders#26

Merged
alexandre-pod merged 15 commits intomasterfrom
feature/supports_xcode_16_folders
Jun 18, 2025
Merged

Add support to Xcode 16 folders#26
alexandre-pod merged 15 commits intomasterfrom
feature/supports_xcode_16_folders

Conversation

@alexandre-pod
Copy link
Member

@alexandre-pod alexandre-pod commented Feb 28, 2025

This PR adds support to new synchronised folders introduced by Xcode 16, and also adds support for SPM projects.

Added

  • Add support for Swift Packages and Xcode 16 synchronized folders
    • Add new optional variable nammed "project_type" which accepts 2 values: "xcode" and "filesystem". When missing ccios use "xcode" by default.
    • When "project_type" is set to "filesystem" ccios will not try to update a pbxproj and will only generate files.
    • When "project_type" is set to "filesystem" multi target definition is no longer supported for generated files.
    • When generating files for an filesystem project, the target name in the header is either: the target defined in the template variables, the target defined in .ccios.yml, or it will try to guess the name when using SPM by searching the target name inside the standard naming scheme of: "Sources/<target_name>/".

Limitations with project_type: "xcode" and Xcode 16 synchronised folders:

@alexandre-pod alexandre-pod force-pushed the feature/supports_xcode_16_folders branch from 0a26a9b to d555aec Compare February 28, 2025 14:49
Base automatically changed from feature/fixes to master April 3, 2025 11:44
@alexandre-pod alexandre-pod force-pushed the feature/supports_xcode_16_folders branch from d555aec to c97331e Compare April 4, 2025 16:09
@alexandre-pod alexandre-pod marked this pull request as ready for review June 6, 2025 15:37
@alexandre-pod alexandre-pod force-pushed the feature/supports_xcode_16_folders branch from fad6040 to 1dff9f2 Compare June 10, 2025 12:58
Copy link

@ThibaultFarnier ThibaultFarnier left a comment

Choose a reason for hiding this comment

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

Ça m'a l'air ok dans les grandes lignes, la présence de tests me rassure pas mal, ne comprenant pas forcément toutes les subtilités de la Gem. Merci beaucoup en tout cas 🙏

@alexandre-pod alexandre-pod merged commit 163a17a into master Jun 18, 2025
2 checks passed
@alexandre-pod alexandre-pod deleted the feature/supports_xcode_16_folders branch June 18, 2025 09:05
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