XcodeGen
XcodeGen copied to clipboard
How to add custom type file as sources?
For example, I want to add linphonerc file as source. I set path: linphonerc, but it doesn't work.
looks like this is not possible right now. The filetypes are classified in resources and sources ( recently did a PR to that file). Maybe a custom version or a modification to pass custom type mappings ( file type/name --> resource/source code) could be created.
I think options.fileTypes is what you're after? That lets you customise any file type across the project without doing it in each target source definition.
options:
fileTypes:
linphonesrc:
buildPhase: sources
More info in options and FileTypes https://github.com/yonaskolb/XcodeGen/blob/master/Docs/ProjectSpec.md#filetype