XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

Local swift packages don't link correctly if project spec and local packages are not at the project root

Open amarantedaniel opened this issue 4 years ago • 1 comments

I noticed that when the project spec is in a different folder other than the project root, the local packages paths are not linked correctly.

I have created a repository to demonstrate the issue: https://github.com/amarantedaniel/XcodeGenPackages

It has a config file at the project root and another one inside a folder when generating the project with the root spec it links the packages correctly. when generating the project specifying the spec that's inside the folder the packages that are inside folders are not linked correctly.

amarantedaniel avatar Nov 16 '21 16:11 amarantedaniel

Have you tried? ....

name: XcodeGenPackages
packages:
  TestPackage:
    path: ../TestPackage
  TestPackageInFolder:
    path: ../PackagesFolder/TestPackageInFolder

eMdOS avatar Nov 30 '21 17:11 eMdOS