From 1759831f3d349197bd5cf20bd9b42c8eb720855f Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Tue, 15 Jul 2025 22:46:03 +0100 Subject: [PATCH 1/2] Recommend using `swiftly` in `AudioWorkstation/README.md` Simplified installation instructions to recommend `swiftly` instead of installing toolchains manually. --- AudioWorkstation/README.md | 39 ++------------------------------------ 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/AudioWorkstation/README.md b/AudioWorkstation/README.md index 919308b..26dbc87 100644 --- a/AudioWorkstation/README.md +++ b/AudioWorkstation/README.md @@ -11,43 +11,8 @@ It is split into three packages: `Guest` with Wasm modules built with Embedded S ## Requirements -WebAssembly support in Swift is available for preview in latest Trunk Development (main) snapshots at -[swift.org/download](https://www.swift.org/download). - -### macOS - -1. Install [Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12). -2. Verify selected Xcode path by running `xcode-select -p` in the terminal. If the incorrect Xcode is selected, follow -the steps provided in ["How do I select the default version of Xcode"](https://developer.apple.com/library/archive/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-HOW_DO_I_SELECT_THE_DEFAULT_VERSION_OF_XCODE_TO_USE_FOR_MY_COMMAND_LINE_TOOLS_) section of -["Building from the Command Line with Xcode FAQ"](https://developer.apple.com/library/archive/technotes/tn2339/_index.html). -3. Download latest `main` development snapshot, you can use [`DEVELOPMENT-SNAPSHOT-2024-04-01-a`](https://download.swift.org/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2024-04-01-a/swift-DEVELOPMENT-SNAPSHOT-2024-04-01-a-osx.pkg) or a later version. -4. Run the downloaded installer. Select "Install for me only" option during installation. -5. Select the newly installed snapshot in terminal: - -```sh -export TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw \ - ~/Library/Developer/Toolchains/swift-latest.xctoolchain/Info.plist) -``` - -### Linux - -Follow Linux-specific instructions provided on [swift.org/install](https://www.swift.org/install/#linux) to install the -latest development toolchain for your specific distribution. - -### Docker - -1. Start a docker container in a clone of this repository using the nightly swiftlang Ubuntu image, with a `/root/build` -mount to the current directory: - -```sh -docker run --rm -it -v $(pwd):/root/build swiftlang/swift:nightly-jammy /bin/bash -``` - -2. Navigate to the package directory within the container: - -```sh -cd /root/build -``` +WebAssembly support in Swift is available for preview in latest 6.2 Development snapshots at +[swift.org/download](https://www.swift.org/download). Follow instructions on that page for installing `swiftly` and run `swiftly install 6.2-snapshot` after that. ## How to Build and Run From 1c9796cf624aba0dd0ecf6188855a5af011ca56f Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Tue, 15 Jul 2025 22:47:18 +0100 Subject: [PATCH 2/2] Update `AudioWorkstation/README.md` --- AudioWorkstation/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioWorkstation/README.md b/AudioWorkstation/README.md index 26dbc87..243c547 100644 --- a/AudioWorkstation/README.md +++ b/AudioWorkstation/README.md @@ -11,7 +11,7 @@ It is split into three packages: `Guest` with Wasm modules built with Embedded S ## Requirements -WebAssembly support in Swift is available for preview in latest 6.2 Development snapshots at +WebAssembly support in Swift is available for preview in Swift 6.2 development snapshots at [swift.org/download](https://www.swift.org/download). Follow instructions on that page for installing `swiftly` and run `swiftly install 6.2-snapshot` after that. ## How to Build and Run