XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

buildToolPlugins doesn't work for aggregateTargets

Open clausjoergensen opened this issue 2 years ago • 4 comments
trafficstars

For example:

packages:
  SwiftLint:
    url: https://github.com/realm/SwiftLint
    from: 0.52.4
    
aggregateTargets:
  SwiftLint:
    buildToolPlugins:
      - plugin: SwiftLintPlugin
        package: SwiftLint

will just generate a empty aggregate target, with no "Run Build Tool Plug-Ins" item.

It works fine doing it manually in Xcode

clausjoergensen avatar Aug 16 '23 23:08 clausjoergensen

I don't think these were applied to aggregateTargets. cc @BarredEwe

yonaskolb avatar Aug 16 '23 23:08 yonaskolb

@yonaskolb Yes, I didn't do it. I think it can be finalized quickly, I will try to post an MP soon.

BarredEwe avatar Aug 17 '23 07:08 BarredEwe

@clausjoergensen I made a Pull Request https://github.com/yonaskolb/XcodeGen/pull/1390. Can you try it?

BarredEwe avatar Aug 21 '23 07:08 BarredEwe

@BarredEwe it works 🚀

clausjoergensen avatar Aug 26 '23 12:08 clausjoergensen