-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unknown command: gen
" even if latest cocoapods-generate gem is installed.
#138
Comments
Anything new here? I have to use this plugin because of Kotlin mobile Multiplattform. Same issue as described for me. I have following ruby version:
If I execute
1.11.2 is much higher than 1.5.0 |
Faced the same issue on macOS Big Sur with ruby >3 and default gem install command installs After some investigation, following steps fixed the problem:
|
Thanks @krishnakumar4a4 for the solution but this can not be way how to solve it. Especially on the M1 Macs there are only ARM builds of the new versions. Furthermore, you would have to stay on the old version forever. |
Having the same issue at the moment. The Here's my cocoapods gem list:
Ruby version: 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21] Any solutions for this? |
The solution to my problem was not actually related to cocoapods-generate itself, but with Brew. The problem was:
To solve the problem make sure:
Attention: This still requires you to use Ruby < 3.0 |
Hi @AresProductions, I meant a completely different problem and unfortunately it is not fixed. |
I had the same error, in my case it was caused by 2 versions of I had After I uninstalled |
But installing Cocoapods via Gem gives Errors in M1 systems . Because it needs to run using Arch -x86_64 ... but these things not supported by gradle cocopods. Anyway to installed cocoa-generate via Homebrew? |
alhamdulillah it solved our issues, when running |
I have the following list of cocoapods related gems installed:
My ruby version - ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-darwin20]
As you can see in the above list
cocoapods-generate (2.2.2)
is installed. But, when I runpod gen
I getI couldn't understand how to apply the solution from Issue 95
Though I tried sudo 'xcode-select --switch /Applications/Xcode.app' as suggested in Issue 95 the issue still persist.
refer: Issue 95 and Issue 84
The text was updated successfully, but these errors were encountered: