yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: `xpcServices` for copyFiles destination (Sparkle)

imWildCat opened this issue · comments

Background: I'm building a project which is using a xpc bundle for automatic updating (Sparkle).

I'm actually expecting something like:

dependencies:
   - bundle: vendors/xpc/my.app.identifier.xpc.InstallerLauncher.xpc
        embed: true
        codeSign: false
        buildPhase:
          copyFiles:
            destination: xpcServices # FIXME: does not work

Is it supported now? If not, do you accept a PR to add this support?

Any files within sources with an .xpc extension should automatically be added to an appropriate build phase

sources:
  - vendors/xpc/my.app.identifier.xpc.InstallerLauncher.xpc

Thank you very much, @yonaskolb !