Skip to content

Add SPM support#28

Merged
alexandre-pod merged 5 commits intofeature/supports_xcode_16_foldersfrom
feature/spm_support
Jun 6, 2025
Merged

Add SPM support#28
alexandre-pod merged 5 commits intofeature/supports_xcode_16_foldersfrom
feature/spm_support

Conversation

@alexandre-pod
Copy link
Member

Added

  • Add support for Swift Packages
    • Add new optional variable nammed "project_type" which accepts 2 values: "xcode" and "spm". When missing ccios use "xcode" by default.
    • When "project_type" is set to "spm" ccios will not try to update a pbxproj and will only generate files.
    • When "project_type" is set to "spm" multi target definition is no longer supported for generated files, as this is not supported by SPM.
    • When generating files for an spm 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 guess the name of the target when your package uses the standard naming scheme of: "Sources/<target_name>/".

@alexandre-pod alexandre-pod merged commit 6e9dc81 into feature/supports_xcode_16_folders Jun 6, 2025
2 checks passed
@alexandre-pod alexandre-pod deleted the feature/spm_support branch June 6, 2025 15:34
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.

1 participant