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)
To develop Flutter apps for iOS, you need a Mac with Xcode installed. Install the latest stable version of Xcode (using web download or the Mac App Store). Configure the Xcode command-line tools to use the newly-installed version of Xcode by running the following from the command line. Xcode is the tool developers use to build apps for the Apple ecosystem – MacOS, iOS, and all things Apple. This guide will walk you through how to successfully install Xcode onto your Mac, from start to finish. Here are some handy tips to know before you get started: Xcode only. Now go back to Xcode 11 and into preferences components and install the 12.2 simulator. Note you can’t do this in Xcode 10 on Catalina due to system read-only partitions. Once you’ve done all you should have simulators setup for 12.2, 12.4 and 13.1. Using the CLI you can now build an app for iOS 13 SDK (with 7.5.x or 8.2.x) using.
MacOS Catalina, version 10.15.x. If you’re new to Xcode or are running Xcode 10 or earlier, install the latest version of Xcode from the Mac App Store. Edit 2: It seems to be downloading very slowly; perhaps Apple's download servers are overloaded from people updating to the latest iOS release. I've been trying to install Xcode 12.5 from the App Store, although each time, it stops downloading at exactly 388 MB. This persists when cancelling and restarting the download, and even across a reboot.
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
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