The error with --architectures arm64,x86_64 is because the flag only accepts a single architecture value, not a comma-separated list. As of Tuist 4.60.1, the default is to cache for arm64 only, and there isn’t built-in support for caching a universal (arm64 + x86_64) build in one go. If you need both, you would need to run tuist cache separately for each architecture (e.g., once with --architectures arm64 and once with --architectures x86_64), but there is no documented way to merge these into a single universal xcframework via Tuist right now. This is a known limitation and is related to how Tuist handles xcframeworks and binary caching for Swift packages like SwiftSyntax. Treating SwiftSyntax as a dynamic framework or using xcframeworks directly does not resolve the issue either, according to user and maintainer reports.
For more details, see the recent PR that introduced the --architectures flag and set the default to arm64 only: PR #7977. There are also related discussions about platform and architecture compatibility issues with SwiftSyntax and SwiftSyntaxMacros in Tuist projects: issue #7050, issue #6107.
To reply, just mention @dosu.
Docs are dead. Just use Dosu.