DEV Community

Senninseyi
Senninseyi

Posted on

setup fix for cocoapods, ruby newbies

Good day devs,
i came across cocoapods installed or not working issues when trying to setup working environment for hybrid development, here's a preview link to such error.
https://i.imgur.com/mWS6HN8.png

found a fix on stackoverflow where as this fix is not popular, so i decided to repost about it for it worked for me.

Thanks and below is the script to fix the issue

curl -L https://get.rvm.io | bash -s stable
rvm install ruby-2.6
rvm use ruby-2.6.5
rvm --default use 2.6.5
sudo gem update
sudo gem install ffi
brew install libffi
sudo gem install cocoapods
pod setup

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more