Cache: skip building in x86 per default

x86 is rarely used nowadays, especially in the development workflows for iOS development. Apple Silicon machines are mostly used and the devices are arm64.

It would make sense to have a default behavior of the cache command to only build for ARM/Apple Silicon architecture. It would still make sense to have an option to allow building for x86.

Fully agree :100:

We’ll be changing the default to only build for the active architecture and still allow for building for non-active architectures by adding a new option:

tuist cache --architectures x86_64
tuist cache --architectures x86_64,arm64
tuist cache --architectures arm64 # This will be the default on ARM machines

Here’s the PR: feat(cli): cache binaries by default for arm64 only, add --architectures option to specify architectures by fortmarek · Pull Request #7977 · tuist/tuist · GitHub