yonaskolb / XcodeGen

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

Local packages with custom group not showing in generated project #1416

Open JaapManenschijn opened 8 months ago

JaapManenschijn commented 8 months ago

1175 added the ability to specify a custom group but to me it's not behaving like I would expect it to.

I would expect it to create the group structure i specify, for example:

packages:
  AlamofireNetworkClient:
    path: Packages/AlamofireNetworkClient
  AppEnvironment:
    path: Packages/Group2/AppEnvironment
    group: Packages/Group2
  ...

This should result in the following structure in Xcode

Project
- Packages
    - AlamofireNetworkClient
    - Group2
        - AppEnvironment

Instead, the Group2 and it's content is simply not showing up in the generated project at all. It will only work if the whole group chain already exists through other means.

The same issue was previously described in #1118.

1392 also seems to ask about the possibility of doing this.

MartinP7r commented 7 months ago

Maybe @John-Connolly can help you figure this out. 🙏🏼

vvisionnn commented 6 months ago

same issue here, with latest version installed

lavenj commented 5 months ago

+1 on this issue

vvisionnn commented 3 months ago

+1 on this issue

This should no longer be a problem. Please upgrade to a version greater than 2.39.0.