yonaskolb / XcodeGen

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

Local Packages Not Displayed in Project Package Dependencies List #1436

Open Faridka0 opened 5 months ago

Faridka0 commented 5 months ago

Hi, We have local and remote packages that we add as dependencies to our targets:

packages:
  SomeRemote:
    url: https://github.com/yonaskolb/XcodeGen
    version: 2.38.0
  SomeLocal:
    path: Packages/SomeLocal

 ...

 targets:
  MyApp:
    dependencies:
      - package: SomeRemote
      - package: SomeLocal

When you open Project -> Package Dependencies, only external dependencies appear in the list. How can we make local packages show up there as well, or is it possibly a bug in XcodeGen? In the Xcode interface, there is an option to include local packages in this list.

Снимок экрана 2024-01-17 в 14 58 52

Xcode 15.2 XcodeGen 2.37.0

yonaskolb commented 2 months ago

I'm not sure what you mean by Xcode supporting this. Do you have a screenshot of you configuring this within Xcode?

yonaskolb commented 2 months ago

Perhaps this is related to https://github.com/yonaskolb/XcodeGen/issues/1396