I\'m trying to build my app on the ios simulator(ios 13), but the build fails and gives an error of pod files: Podfile is out of date
This is the error.
MacOS Catalina has changed the default terminal from Bash to ZSH. As a result, we'll be adding configs to ~/.zshrc instead of ~/.bash_profile like we used in the past.
You can manually change from Bash to ZSH anytime by running the following command: chsh -s /bin/zsh Installing Homebrew First, we need to install Homebrew. Homebrew allows us to install and compile software packages easily from source.
Homebrew comes with a very simple install script. When it asks you to install XCode CommandLine Tools, say yes.
Open Terminal and run the following command: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Now that we have Homebrew installed, we can use it to install Ruby.
We're going to use rbenv to install and manage our Ruby versions.
To do this, run the following commands in your Terminal:
brew install rbenv ruby-build
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc source ~/.zshrc
rbenv install 2.7.2 rbenv global 2.7.2 ruby -v that's all Use pod install command in your ios directory to install new pods in your project. cd ios pod install enjoy
MacOS Catalina has changed the default terminal from Bash to ZSH. As a result, we'll be adding configs to ~/.zshrc instead of ~/.bash_profile like we used in the past.
You can manually change from Bash to ZSH anytime by running the following command: chsh -s /bin/zsh Installing Homebrew First, we need to install Homebrew. Homebrew allows us to install and compile software packages easily from source.
Homebrew comes with a very simple install script. When it asks you to install XCode CommandLine Tools, say yes.
Open Terminal and run the following command: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Now that we have Homebrew installed, we can use it to install Ruby.
We're going to use rbenv to install and manage our Ruby versions.
To do this, run the following commands in your Terminal: brew install rbenv ruby-build Add rbenv to bash so that it loads every time you open a terminal echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc source ~/.zshrc
rbenv install 2.7.2 rbenv global 2.7.2 ruby -v that's all Use pod install command in your ios directory to install new pods in your project. cd ios pod install enjoy