Hive Hive
Sign in

Pick attribute values per platform with select()

Metadata
Source
GitHub
Version
0.18.0
Domains
Published
Jun 12, 2026 · 21:12 UTC
Repository
tuist/once
Update

You can now write conditional attribute values in once.toml using a select shape, choosing different values per platform, SDK variant, architecture, or Mac Catalyst. Composite keys like ios:simulator win over broader keys when several match. The graph rejects select on attributes that the target kind marks as non-configurable, so invalid configurations fail at analysis time.