File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
docs/reference/src/advanced Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -136,3 +136,19 @@ issues we're aware of and how to resolve them.
136
136
137
137
The Skia build requires the use of Microsoft Visual Studio 2022 as compiler. Make sure to have the latest patches
138
138
to the compiler installed.
139
+
140
+ * Compilation error on macOS:
141
+
142
+ The build fails and somewhere in the log output you see this message:
143
+
144
+ ```
145
+ cargo:warning=xcrun: error: unable to lookup item 'PlatformVersion' from command line tools installation
146
+ cargo:warning=xcrun: error: unable to lookup item 'PlatformVersion' in SDK '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
147
+ ```
148
+
149
+ This is due the build process calling ` xcrun --show-sdk-platform-version ` to determine the SDK version, and that's unfortunately not
150
+ supported by the Xcode command line tools. To solve this issue, run the following command once:
151
+
152
+ ```
153
+ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
154
+ ```
You can’t perform that action at this time.
0 commit comments