With the addition the Apple M1 (Apple Silicon) which is based on arm64 architecture, the work at Swift 0n Arm has become very important to Mac users.
If you are running Swift inside a Linux docker container or VM on the new M1 Mac and you will need to use a Swift version that is compatible with the arm64 cpu architecture.
At Swift 0n Arm we have built versions for many popular Linux distros such as Debian, Ubuntu.
Visit the Swift on Arm Package Repository for details of the
apt installable versions available.
Or download directly from the Github Releases Page.