yonaskolb / XcodeGen

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

PreGenCommand order #1419

Open tcamin opened 7 months ago

tcamin commented 7 months ago

Is there a specific reason why the project validation is performed before running the preGenCommand (https://github.com/yonaskolb/XcodeGen/blob/master/Sources/XcodeGenCLI/Commands/GenerateCommand.swift#L76-L86)?

We would like to dynamically add files to the repository in the preGenCommand, however due to the current sequence, we encounter validation failures because these files are not yet present in the project.