yonaskolb / XcodeGen

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

Enable adding local Swift packages to the project root #1413

Closed hiltonc closed 3 months ago

hiltonc commented 8 months ago

This enables adding local Swift packages to the project root. This can be done in one of two ways:

  1. Use a "" group for a package:
packages:
  MyPackage:
    path: MyPackage
    group: ""
  1. Use "" for the localPackagesGroup option:
options:
  localPackagesGroup: ""

Resolves #1209

yonaskolb commented 4 months ago

Thank you for this @hiltonc. Could you resolve the conflicts and make sure it still works after https://github.com/yonaskolb/XcodeGen/pull/1417 was merged

OmranK commented 4 months ago

Would this solution allow you to have Xcode project with local packages generated like this? Screenshot 2024-02-25 at 6 42 49 AM

hiltonc commented 4 months ago

@OmranK yes, it should enable you to do that

hiltonc commented 4 months ago

@yonaskolb I've resolved conflicts, tests pass, and I manually verified both configuration options.