Xcode Version Catalina

Gyp: No Xcode or CLT version detected! Reference: Installation notes for macOS Catalina (v10.15) Check MacOS version. Run swvers in terminal to check your MacOS version.

  1. Xcode Version For Catalina
  2. Xcode Version For Catalina
  3. Xcode Version For Catalina 10.15
  4. Catalina Xcode Version

Is node-gyp (Node.js native addon build tool) failing during yarn install or npm install? If your macOS got upgraded to Catalina (10.15) recently, then you will find the fix right here.

  1. Install Xcode on MacOS Mojave and test with Virtualbox on Windows 10 2020Can we install MacOS with Virtualbox on Windows 10 to develop iOS apps?- Yessssss!!y.
  2. Step Two – Install XCode on Windows. Once the macOS Catalina is installed, open it up and switch it on from VMware or VirtualBox. Next, open the App Store and search for XCode. XCode on App Store. On the results, click the XCode then click Get on this window. It will ask for your Apple ID, sign in and it will start.

Explainer Video:

Sample Error

So, what went wrong?

node-gyp uses XCode Command Line Tools for macOS.

Both upgrading to macOS Catalina and running a Software Update in Catalina may cause normal node-gyp installations to fail. This might manifest as the following error during npm install:

gyp: No Xcode or CLT version detected!
Reference: Installation notes for macOS Catalina (v10.15)

Xcode Version For Catalina

Check MacOS version

Run sw_vers in terminal to check your MacOS version. Actually, if ProductVersion is less then 10.15, then fix of this post may not be applicable.

How to fix?

Xcode Version CatalinaXcode Version Catalina

Reinstall the XCode Command Line Tools.

Xcode Version For Catalina

  1. Remove the XCode Command Line Tools.or
  2. Install the XCode Command Line Tools.Click 'Install' button in the wizard, accept 'License Agreement' and click 'Done' once the software is installed.

Acid Test

Xcode Version Catalina

If the below acid test passes, we are good to go.

Xcode Version For Catalina 10.15

Verify

Finally, we'll run the initial npm install that failed for us.

Catalina Xcode Version

References