Can I use Swift Data on linux?

Asked on 08/03/2024

1 search

Yes, you can use Swift Data on Linux. Swift is officially supported on Apple platforms, Linux, and Windows. Additionally, Apple has introduced a fully static Linux SDK for Swift, which allows you to cross-compile from macOS to Linux. This means you can develop your Swift applications on macOS and deploy them on a Linux server without needing an additional runtime to be installed.

For more details, you can refer to the session What’s new in Swift at the 07:30 timestamp.