Title
n

Nadeem Aslam

09/20/2022, 5:53 AM
Hey! I am trying to setup my system for KMM and i am facing an issue for hours.
Cocoapods
ruby (ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.x86_64-darwin21]) * System ruby is currently used Consider installing ruby 2.7 via Homebrew, rvm or other package manager in case of issues with CocoaPods installation ruby gems (3.0.3.1) cocoapods (1.11.3) * cocoapods-generate plugin not found Get cocoapods-generate from https://github.com/square/cocoapods-generate#installation Here is the stack overflow link for question. KMM KDoctor cocoapods error.
official documentation
n

Nadeem Aslam

09/20/2022, 10:53 AM
@Konstantin Tskhovrebov thanks for your reply. I already followed the documentation commands and it still giving me same error.
k

Konstantin Tskhovrebov

09/20/2022, 11:14 AM
what is your error?
Have you noticed info about
cocoapods-generate
in the documentation?
n

Nadeem Aslam

09/21/2022, 10:20 AM
Basically system ruby version 2.6 has preference over ruby 2.7 installed using brew. So I had to change the pod file PATH so ruby@2.7 got preference over system ruby. This article helps me a lot to understand it. https://stackify.com/install-ruby-on-your-mac-everything-you-need-to-get-going/