XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

Enable adding local Swift packages to the project root

Open hiltonc opened this issue 2 years ago • 1 comments

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

hiltonc avatar Nov 06 '23 19:11 hiltonc

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

yonaskolb avatar Feb 14 '24 09:02 yonaskolb

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

OmranK avatar Feb 25 '24 11:02 OmranK

@OmranK yes, it should enable you to do that

hiltonc avatar Feb 26 '24 18:02 hiltonc

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

hiltonc avatar Feb 26 '24 19:02 hiltonc