Comments (2)
@Uki19 do you have a proposal for how this would look? Also if using the more fully featured schemes is difficult, there are also scheme templates that may cut down on the boilerplate required for you, if you weren't aware of them https://github.com/yonaskolb/XcodeGen/blob/master/Docs/ProjectSpec.md#scheme-template
from xcodegen.
for example, there could be buildTargets
or additionalTargets
, like there's testTargets
option:
targets:
AppTarget:
...
Widgets:
type: app-extension
subtype: widgetkit-extension
platform: iOS
deploymentTarget: 15.0
configFiles:
DEV Debug: some-dev.xcconfig
DEV Release: some-dev.xcconfig
PROD Debug: some-prod.xcconfig
PROD Release: some-prod.xcconfig
scheme:
configVariants:
- DEV
- PROD
buildTargets: <-- here
- AppTarget: all
- AppIntentsExtension: all
...
AppTarget
name could be derived via target_name variable, or passed in as templateAttributes
:
// templates:
Widgets:
...
buildTargets: <-- here
- ${mainTargetName}: all
- ${mainTargetName}ntentsExtension: all
// actual targets:
targets:
AppWidgets:
templates:
- Widgets
templateAttributes:
mainTargetName: App
We ended up using schemeTemplates for now which did reduce the boilerplate, but this could help us improve it even further 🙂
from xcodegen.
Related Issues (20)
- Add DESTDIR support to Makefile HOT 2
- Can't specify preferredScreenCaptureFormat in scheme's test actions HOT 1
- XcodeGenKit/resource_bundle_accessor.swift:44: Fatal error: unable to find bundle named XcodeGen_XcodeGenKit HOT 17
- XcodeGen doesn't support the full set of C++ file extensions that Xcode itself does
- [BUG] Optional source path doesn't work if executing xcodegen from outer directory
- Where should I set the App version? 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 7
- 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
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.