You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 \
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 Swift 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.
0 commit comments