Skip to content

Tags

Tags

1.6.0-dynamic-oc

Toggle 1.6.0-dynamic-oc's commit message
refactor: Replace OrderedCollections with a self-contained shim

PluginCore used swift-collections' OrderedCollections only on the macro
host (deterministic coding-key ordering, 13 call sites). That product
must link dynamically app-wide for a single runtime instance, while the
macOS macro plugin needs it statically — an impossible split under
Tuist's global-per-product-name product types.

Replacing the host-side usage with a self-contained insertion-ordered
Dictionary/Set shim drops the swift-collections dependency, so the macro
builds from source with no prebuilt binary and no toolchain coupling,
while OrderedCollections stays a single dynamic framework app-side.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>