Nativescript doesn't recognize Xcode (High Sierra) Nativescript doesn't recognize Xcode (High Sierra) xcode xcode

Nativescript doesn't recognize Xcode (High Sierra)


I had this problem today, but running the recommended command didn't help. I found that running the command

$ tns doctor

walked me through a series of prompts and corrected the issue. I did have to restart my terminal after the program completed in order for it to take effect.


Open Xcode than go to Preferences -> Locations -> Command Line Tools after that it'll automatically take a path for the same. The system may ask for sudo password.