Giter Site home page Giter Site logo

Support PBXAggregateTarget about xcodegen HOT 8 CLOSED

yonaskolb avatar yonaskolb commented on July 22, 2024 1
Support PBXAggregateTarget

from xcodegen.

Comments (8)

mironal avatar mironal commented on July 22, 2024

I want this feature. but it is difficult for me to implement. 😭

from xcodegen.

yonaskolb avatar yonaskolb commented on July 22, 2024

How would you guys imagine this feature looking in yaml?

Would something like this work?
A new top level aggregateTargets, that has a map of target name to the following structure:

  • targets: [String]
  • settings
  • prebuildScripts
  • postBuildScripts

Is that all that would be needed? Do you need to be able to set build settings on an aggregate target?

from xcodegen.

vgorloff avatar vgorloff commented on July 22, 2024

We mostly using aggregateTarget to execute scripts. For instance as global Prepare target set as dependency for any other target. Just to avoid setting pre-build scripts in every target.

from xcodegen.

brentleyjones avatar brentleyjones commented on July 22, 2024

Our use case is the same. Preventing running a script for each target.

Sent with GitHawk

from xcodegen.

yonaskolb avatar yonaskolb commented on July 22, 2024

Would target inheriting solve the same problem as you could easily apply a build script to all targets? #285

from xcodegen.

brentleyjones avatar brentleyjones commented on July 22, 2024

Ideally the build script is run once though.

Sent with GitHawk

from xcodegen.

yonaskolb avatar yonaskolb commented on July 22, 2024

Got it

from xcodegen.

yonaskolb avatar yonaskolb commented on July 22, 2024

Aggregate targets added here #354.
Does this solve everyone's requirements?

There's still a strange issue to be resolved as mentioned in the PR

from xcodegen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.