yonaskolb / XcodeGen

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

I am unable to create a group from a directory #1414

Open capezzbr opened 8 months ago

capezzbr commented 8 months ago

My goal is to list the reactnative directory, which contains all my sources, as a group.

What happens What I want
image image

I've tried different combinations specifying sources: [], e.g.

I believe the problem might be with reactnative being both the target name and directory with sources. If I change the reactnative directory name to HelloWorld, and then use { path: 'HelloWorld/main.m', group: 'reactnative', buildPhase: 'resources' } as source, main.m will be added correctly under the reactnative group.

Any advice? 🙇