yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
6.99k stars 816 forks source link

.DS_Store files in cache #1032

Open AlexShubin opened 3 years ago

AlexShubin commented 3 years ago

Hello!

Seems like .DS_Store files are excluded by default from SourceGenerator. But when using a --use-cache feature they get to the generated caches anyways. And each time a new .DS_store file appears the project gets regenerated because the cache has been changed. Is it an intended behavior or am I missing something?

Thanks in advance! And thanks for the great work you're doing here! 🙏

AlexShubin commented 3 years ago

The workaround so far can be running git clean -fx before actually running XcodeGen.

yonaskolb commented 3 years ago

Hi @AlexShubin. This is not intended behaviour and should be classed as a bug. Would welcome a PR to fix this