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.
CloudStack.Ninja is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. Sudo gem install cocoapods. Mac OS X 10.11后 sudo gem install -n /usr/local/bin cocoapods. 由于本机的系统是10.15所以选择后者命令输入 sudo gem install -n /usr/local/bin cocoapods. Sudo gem install -n /usr/local/bin cocoapods Successfully installed cocoapods-1.8.4 Parsing documentation for cocoapods-1.8.4 Done installing. Browse other questions tagged ruby macos rubygems cocoapods macos-catalina or ask your own question. The Overflow Blog Podcast 364: What’s the blast radius when your database goes down?
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 :
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 :
Install Cocoa Pods In Mac Os Catalina Download
/usr/bin/ruby-e'$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' |
Step 2. Install Node.js :
Next step is to install the node.js online using command.
Step 3. Install watchmen :
Step 4. Install React Native CLI :
Step 5. install Xcode command line tools :
To install the latest version on Xcode you need to follow the below steps :
Install Cocoa Pods In Mac Os Catalina Os
Open Xcode -> Preferences -> Locations tab -> install latest version of Xcode command line tools.
Step 6. Create your first react native project in MAC :
Install Cocoa Pods In Mac Os Catalina Free
Step 7. Run your created project
2 | react-nativerun-ios |
Screenshot :
Here you go guys, Now you have successfully created your first React Native project in MAC. To start editing your project just open the index.ios.js file. Feel free to share your thoughts via comments 🙂 .