First install ruby: See https://rvm.io/rubies/installing
Install Cocoapods: sudo gem install cocoapods
ammarmujeeb$ pod --version
-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory
ammarmujeeb$ rvm list
=* ruby-2.7.0 [ x86_64 ]
=> - current
=* - current && default
* - default
ammarmujeeb$ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin20]
ammarmujeeb$ which ruby
/Users/ammarmujeeb/.rvm/rubies/ruby-2.7.0/bin/ruby
ammarmujeeb$ rvm use ruby-2.7.0
Using /Users/ammarmujeeb/.rvm/gems/ruby-2.7.0
ammarmujeeb$ pod --version
Warning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.1.4). We suggest you to upgrade to the version that created the lockfile by running gem install bundler:2.1.4.
1.11.2
ammarmujeeb$ pod install
Warning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.1.4). We suggest you to upgrade to the version that created the lockfile by running gem install bundler:2.1.4.
Analyzing dependencies
Downloading dependencies
....
Generating Pods project
Integrating client project
Pod installation complete!
Post
Replies
Boosts
Views
Activity
I had same in my mind. Anyone..?