Macos Catalina Xcode Version

  1. Macos Catalina Xcode Version
  2. Macos Catalina Xcode Versions
  3. Macos Catalina Xcode Version 1
  4. Macos Catalina Xcode Version 7
  5. Macos Catalina Xcode Version 1.12

It saying that the node-gyp rebuild is failed, and this is because No Xcode or CLT version detected. Xcode is an integrated development environment (IDE) for macOS containing a suite of software. 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.

  • 14th Oct 2019 PHP IDE XDebug MacOS Catalina After figuring out a way around the massive breaking change introduced by Xcode 11, it's now time to install Xdebug back on MacOS Catalina. Update from January 6th 2021.
  • Yes, you can run Xcode 12 with the current macOS, Catalina. It will work perfectly, although you can update to the developer beta of Big Sur. Yes, it supports Catalina. I recommend using the latest Big Sur beta, however, so that you can update your app to support the latest technologies.
  • In this video, I'm going to show you how to Install macOS Catalina Final on VirtualBox on Windows PC with a new method. This thorough tutorial will show how.

macOS Catalina

Before we get right to how to install command line tools on macOS, let us look at what macOS Catalina is all about. Apple just made available a major release of its macOS codenamed macOS Catalina (version 10.15). macOS Catalina is the sixteenth release of Appleā€™s desktop operating system for Macintosh computers. So with the release of macOS Catalina, we say goodbye to macOS Mojave (version 10.14)

macOS Catalina is the first of its kind to support only 64-bit applications and activation lock. Read more about all the new feature of macOS Catalina from apple.com

Command-line tools on macOS Catalina is essential to running of commands and development task. Just like with all new versions of macOS you have to install command-line tools to run commands. The good news is the procedure has not changed much across the various versions of macOS

Install Command Line Tools

Open your terminal to begin the process of installing command-line tools on macOS Catalina. With your terminal opened, type the command below into the prompt and press the return key to execute it. After executing the command below a pop-up window should open with the option to install. The popped-up window should look similar to the image below

Subsequently, click on the Install button to proceed with the installation of command-line developer tools. Most importantly, as with every application, you have to agree to the license to proceed with the installation. Hence click agree on the license agreement window to continue with the installation.

Therefore, as a result of agreeing to license the download the command line tools is triggered. After that, the installation will kick in and should not take too long.

Finally, click on the Done button to complete the installation process.

After that run some beautiful code from the terminal. In conclusion, run your commands from the terminal to confirm the successful installation of command-line tools on macOS Catalina.

Originally published at https://anansewaa.com on October 11, 2019

After figuring out a way around the massive breaking change introduced by Xcode 11, it's now time to install Xdebug back on MacOS Catalina.

Update from January 6th 2021:
Using MacOS Big Sur? This solution should work for you too. But since Apple Deprecated PHP in MacOS Big Sur, you should probably rely on Homebrew now.

Update from June 30th 2020:
After some new investigation while trying to upgrade to a newer version of xdebug, I now believe most of the instructions in this post are not necessary. Before doing anything, you should check if xdebug.so already exists in /usr/lib/php/extensions/no-debug-non-zts-20180731/, which I believe is there by default (let me know if otherwise). If it does exist, you could skip to the Enabled support in PHP portion of this post.

Note that building xdebug from source code and actually trying to use that version of xdebug.so (for example by referencing the built file in xdebug/module/xdebug.so after using make install) with the build-in PHP should end up in a 'code signature' error. As described here and here, even after signing the binary, MacOS won't allow system binaries to interact with non-system binaries for security reasons. The only real solution to use a custom version of xdebug would be to compile and use you own instance of PHP instead of the build in one.

CatalinaMacos catalina xcode versions

Long story short, Apple decided to nuke /usr/include in MacOS Catalina, which has been the default location for C header file for ever in UNIX systems. Trying to install through PEAR / PECL will return an error as the compiler will look for necessary headers file in /usr/include. So the solution is to compile Xdebug manually, manually specifying the actual location of the header files, which are still provided by Xcode, just at a different location.

Xcode

The first step is to get Xcode from the App Store.

Once Xcode installed, we have to get the command line tools :

You might need to actually open Xcode at this point to finish installation and accept terms and conditions, especially if the previous command fails.

Finally, make sure the SDK is found. If the path you get differs from the one bellow, you might need to edit the path accordingly later on:

Manually Compiling Xdebug

Getting source

Let's compile 2.7.2, getting the source code from git. Alternatively, you can download the source from Xdebug site.

phpize

Next we need to make a copy phpize so we can edit the include path :

Find this line :

Macos Catalina Xcode Version

...and replace it with this line :

Run phpize:

You should now see something like this :

Macos Catalina Xcode Version

Configure & build

We can now configure :

...and run make using our custom SDK location defined as compiler flags. I used a variable to store the path to the SDK so it's easier to edit if it changes :

You might see some warning, just ignore it for now. Finally, we'll need to run :

Xcode

Again, this command will fail because it can't move the extension to the right place. SIP will prevent it. But no worries, we'll take care of that manually at the next step. make install is still required as it will sign the *.so file.

The above trick should work for any PHP extension you want to compile. If you're trying to compile something other than a PHP extension, I recommend having a look at the Makefile to see which directory to include in your custom CPPFLAGS.

Enabled support in PHP

Once make install has been run, we can move the executable somewhere safe. I use /usr/local/php/extensions.

Then we edit the PHP configuration to enable Xdebug. Simply edit php.ini:

Macos Catalina Xcode Versions

And we add the following at the bottom :

Macos Catalina Xcode Version 1

Restart built in server to be sure :

And finally test everything went fine :

Macos Catalina Xcode Version 7

If the above command returns nothing, then Xdebug is not available on your install. Go back the steps to find out what's missing.

Macos Catalina Xcode Version 1.12

References and thanks :