mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-03 07:04:34 +00:00
doc: For the Skia build, add the xcode command line tools SDK issue to the troubleshooting
Closes #5043
This commit is contained in:
parent
8a19e13dec
commit
aebc7570c8
1 changed files with 16 additions and 0 deletions
|
@ -136,3 +136,19 @@ issues we're aware of and how to resolve them.
|
||||||
|
|
||||||
The Skia build requires the use of Microsoft Visual Studio 2022 as compiler. Make sure to have the latest patches
|
The Skia build requires the use of Microsoft Visual Studio 2022 as compiler. Make sure to have the latest patches
|
||||||
to the compiler installed.
|
to the compiler installed.
|
||||||
|
|
||||||
|
* Compilation error on macOS:
|
||||||
|
|
||||||
|
The build fails and somewhere in the log output you see this message:
|
||||||
|
|
||||||
|
```
|
||||||
|
cargo:warning=xcrun: error: unable to lookup item 'PlatformVersion' from command line tools installation
|
||||||
|
cargo:warning=xcrun: error: unable to lookup item 'PlatformVersion' in SDK '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
|
||||||
|
```
|
||||||
|
|
||||||
|
This is due the build process calling `xcrun --show-sdk-platform-version` to determine the SDK version, and that's unfortunately not
|
||||||
|
supported by the Xcode command line tools. To solve this issue, run the following command once:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue