Skip to content

Commit 1759831

Browse files
authored
Recommend using swiftly in AudioWorkstation/README.md
Simplified installation instructions to recommend `swiftly` instead of installing toolchains manually.
1 parent 944ccb6 commit 1759831

File tree

1 file changed

+2
-37
lines changed

1 file changed

+2
-37
lines changed

AudioWorkstation/README.md

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -11,43 +11,8 @@ It is split into three packages: `Guest` with Wasm modules built with Embedded S
1111

1212
## Requirements
1313

14-
WebAssembly support in Swift is available for preview in latest Trunk Development (main) snapshots at
15-
[swift.org/download](https://www.swift.org/download).
16-
17-
### macOS
18-
19-
1. Install [Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12).
20-
2. Verify selected Xcode path by running `xcode-select -p` in the terminal. If the incorrect Xcode is selected, follow
21-
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
22-
["Building from the Command Line with Xcode FAQ"](https://developer.apple.com/library/archive/technotes/tn2339/_index.html).
23-
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.
24-
4. Run the downloaded installer. Select "Install for me only" option during installation.
25-
5. Select the newly installed snapshot in terminal:
26-
27-
```sh
28-
export TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw \
29-
~/Library/Developer/Toolchains/swift-latest.xctoolchain/Info.plist)
30-
```
31-
32-
### Linux
33-
34-
Follow Linux-specific instructions provided on [swift.org/install](https://www.swift.org/install/#linux) to install the
35-
latest development toolchain for your specific distribution.
36-
37-
### Docker
38-
39-
1. Start a docker container in a clone of this repository using the nightly swiftlang Ubuntu image, with a `/root/build`
40-
mount to the current directory:
41-
42-
```sh
43-
docker run --rm -it -v $(pwd):/root/build swiftlang/swift:nightly-jammy /bin/bash
44-
```
45-
46-
2. Navigate to the package directory within the container:
47-
48-
```sh
49-
cd /root/build
50-
```
14+
WebAssembly support in Swift is available for preview in latest 6.2 Development snapshots at
15+
[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.
5116

5217
## How to Build and Run
5318

0 commit comments

Comments
 (0)