docs: update BAZEL.md crosstool error instructions (#22018)
PR Close #22018
This commit is contained in:
parent
4ec40c6ab2
commit
2654357c72
|
@ -194,10 +194,13 @@ source: https://github.com/bazelbuild/bazel/issues/4603
|
||||||
|
|
||||||
If VSCode is not the root cause, you might try:
|
If VSCode is not the root cause, you might try:
|
||||||
|
|
||||||
|
- Quit VSCode (make sure no VSCode is running).
|
||||||
|
|
||||||
```
|
```
|
||||||
bazel clean --expunge
|
bazel clean --expunge
|
||||||
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
|
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
|
||||||
sudo xcodebuild -license
|
sudo xcodebuild -license
|
||||||
|
bazel build //packages/core # Run a build outside VSCode to pre-build the xcode; then safe to run VSCode
|
||||||
```
|
```
|
||||||
|
|
||||||
Source: https://stackoverflow.com/questions/45276830/xcode-version-must-be-specified-to-use-an-apple-crosstool
|
Source: https://stackoverflow.com/questions/45276830/xcode-version-must-be-specified-to-use-an-apple-crosstool
|
||||||
|
|
Loading…
Reference in New Issue