Skip to content

Commit 0e82e43

Browse files
committed
chore(macos): additional note on xcode warning
1 parent 079885e commit 0e82e43

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

content/setup/macos.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,22 @@ If you see **No issues were detected** then you have successfully set up your sy
278278

279279
::: warning Troubleshooting
280280

281-
If any of the above failed, we recommend asking in [our Community Discord](https://nativescript.org/discord) for assistance.
281+
Did you see this warning?
282+
283+
```
284+
✖ WARNING: Xcode is not installed or is not configured properly.
285+
You will not be able to build your projects for iOS or run them in the iOS Simulator.
286+
To be able to build for iOS and run apps in the native emulator, verify that you have installed Xcode.
287+
288+
Your environment is not configured properly and you will not be able to execute local builds.
289+
Verify that your environment is configured according to the system requirements described at
290+
https://docs.nativescript.org/setup/macos#setting-up-macos-for-ios.
291+
```
292+
293+
If so, you can likely just run: `sudo xcode-select --reset`
294+
295+
Now try `ns doctor ios` again.
296+
297+
If any others failed, we recommend asking in [our Community Discord](https://nativescript.org/discord) for assistance.
282298

283299
:::

0 commit comments

Comments
 (0)