Comments (8)
I want this feature. but it is difficult for me to implement. 😭
from xcodegen.
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.
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.
Our use case is the same. Preventing running a script for each target.
Sent with GitHawk
from xcodegen.
Would target inheriting solve the same problem as you could easily apply a build script to all targets? #285
from xcodegen.
Ideally the build script is run once though.
Sent with GitHawk
from xcodegen.
Got it
from xcodegen.
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)
- [BUG] Optional source path doesn't work if executing xcodegen from outer directory
- Where should I set the App version? HOT 2
- Specify additional build/run targets for target-scheme HOT 2
- Xcodegen cache bug? HOT 2
- Strange behavior of SwiftUI App HOT 2
- Exclude PrivacyInfo.xcprivacy from Copy Bundle Resources HOT 11
- Xcode removing Package.resolved HOT 8
- Indentation options are not applied to files being part of Packages HOT 1
- Deintegration of GraphViz HOT 1
- Using 'supportedDestinations' with watchOS app doesn't generate an 'Embed Watch Content' build phase HOT 12
- Setting a default device target HOT 1
- Prefetch resource tags (ODR, On Demand Resources) HOT 1
- Specify multiple package products broken HOT 1
- settings DEVELOPMENT_TEAM doesn't work HOT 1
- Sources "name" property ignored if specifying "group"
- Reducing compiled asset size
- is it possible to set different Configs for one `Extension` target when adding as dependency to different `Application` targets ?
- About String Catalogs
- If I set xcconfig files, the grouping is broken
- Build is broken on Xcode 16 Beta 1 due to GraphViz HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcodegen.