Mac OS - 15.0.1
Last updated
Last updated
Dependency | Working Version |
---|---|
Download an older version of Xcode
Go to the https://developer.apple.com/download/more/ page. You will need to sign in with your Apple Developer account.
Search for the version of Xcode that includes Apple Clang 14. This is typically specified in the release notes for each Xcode version.
Download the Xcode `.xip` file for the version you need.
Install the older version of Xcode:
Once the download is complete, extract the `.xip` file, which will give you an Xcode application.
Rename this Xcode application if you want to keep multiple versions of Xcode on your system (e.g., `Xcode_14.3.1.app`).
Drag the Xcode application to your `/Applications` directory.
Switch to the desired version of the toolchain
If you want to use the newly installed version of Xcode and its toolchain by default, you can switch to it using the `xcode-select` command:
Replace `Xcode_14.3.1.app` with the actual name of the Xcode version you installed.
Open Terminal and run the following command to check the version of Clang:
clang --version
If you want to use a specific version of Apple Clang for command line builds you can use the following;
First make a dependency directory. I like to use ~/dependencies
Next we need to set the environment variables.
Install Protobuf
Install Boost
Install WasmEdge
From the root xahaud
directory:
Apple Clang
14.3.1
LLVM
14
LLD
14
Boost
1.86.0
CMake
3.23.1
Protobuf
3.20.0
WasmEdge
0.11.2