Install Cocoapods In Mac Os Catalina

React Native becoming very popular among Android and iOS developer because of its cross platform native development technique. React native is now doing what is impossible few years back but now its a complete game changer technique, which would soon change the development arena and any one can developer both android and iOS apps using single language.

This tutorial is for all the beginners who is thinking to learn React Native. So using this tutorial you can complete your first task to install Install React Native on MAC ( MACINTOSH ) system and create your first React Native project and run that project in real iOS device or iOS emulator. If you use windows system then you can also read my this tutorial. So lets get started 🙂 .

Step 1. Install Homebrew :

In my mac mini I've running Catalina 10.15.7. I've also installed Xcode 12.4. Now as I'm using third party library I'm trying to install cocoapods in my mac. So I used this - sudo gem install cocoapods which I got from official website. But I'm getting this. Unable to install Cocoapods on macOS Catalina 10.15.7 You’re now watching this thread and will receive emails when there’s activity. Click again to stop watching or visit your profile/homepage to manage your watched threads. Brew install cocoapods. Dependency manager for Cocoa projects. Installation support provided for macOS releases: Intel: big sur:: catalina. NOTE: If you have downloaded an extension that uses CocoaPods from the Marketplace, then you only need to follow the section 'Installing CocoaPods', below, to be able to use it. Installing CocoaPods. To be able to use the features that CocoaPods offers, you will first need to install it on your Mac. Install Xcode command line tools: To install the latest version on Xcode you need to follow the below steps: Open Xcode - Preferences - Locations tab - install latest version of Xcode command line tools. Create your first react native project in MAC: Step 7. Run your created project.

Homebrew is a type of platform dependency installation software which would allow us to install all the download and install all the required files. To install Homebrew open you terminal prompt and type the below command :