rules_xcodeproj icon indicating copy to clipboard operation
rules_xcodeproj copied to clipboard

Feature Request: Support IDETemplateMacros.plist options

Open luispadron opened this issue 2 years ago • 4 comments

The rules already support some of the project_options available in Xcode. It would be great to support installing the IDETemplateMacros.plist equivalent for setting things like the file header template.

This is particularly nice at a large organization where you'd like to set the license header for all files created by Xcode.

luispadron avatar May 09 '23 18:05 luispadron

Duplicate of #499?

Do those live inside of the .xcodeproj? I recall them being external to that. If so, I think it's out of scope of the project, at least as a first class thing. What I think we could support is running custom pre or post generation scripts as part of installer.sh.

brentleyjones avatar May 09 '23 18:05 brentleyjones

Templates would be nice and those do live outside of the Xcode project from what I understand, so some hook into project generation would work there.

For the file header though, that's done via IDETemplateMacros.plist which can live under the .xcodeproj, according to: https://matrejek.eu/posts/customizing-xcode-header-comments

luispadron avatar May 09 '23 19:05 luispadron

Can we rename this issue to focus on IDETemplateMacros.plist and leave #499 for templates?

brentleyjones avatar May 09 '23 19:05 brentleyjones

I'll try to pick this up soon

luispadron avatar Jul 13 '23 22:07 luispadron