XCode can't be found, but it's installed


Hey, guys, I’m new to NativeScript and trying to install it but I’m having this strange issue:

WARNING: Xcode is not installed or is not configured properly.
You will not be able to build your projects for iOS or run them in the iOS Simulator.
To be able to build for iOS and run apps in the native emulator, verify that you have installed Xcode.

I tried to reinstall Xcode but getting the same error.

Any ideas?



Did you open a new terminal after install? Maybe consider a reboot too.

I did a quick search and found this: https://github.com/NativeScript/nativescript-cli/issues/1064