Skip to content

docs(setup): update with notes/warnings about current macos setup #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions content/setup/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ prev: /setup
next: /creating-a-new-project
contributors:
- rigor789
- sjsadowski
---

## Setting up macOS for Android
Expand Down Expand Up @@ -47,6 +48,10 @@ brew tap homebrew/cask-versions
brew install --cask temurin@17
```

:::warning Note
Using JDK 17 is highly recommended as the nativescript-bundled version of gradle is compatible. Using a newer version of the JDK may cause issues with your android build process.
:::

Once installed, open a new Terminal and verify that the default version is the one we installed:

```cli
Expand Down Expand Up @@ -150,6 +155,10 @@ Once the installation is complete (this may take a while — brew a coffee a

Open `XCode › Preferences › Locations` and make sure **Command Line Tools** is set

:::warning Note
In newer versions of XCode, 'Preferences' may be 'Settings'
:::

![XCode Preferences, Locations](../assets/images/environment-setup/xcode_command_line_tools.png)

### Installing Ruby
Expand Down