Steve Malek
12/03/2022, 1:59 AMsteve@OrionMachine
~ % kdoctor
[v] System
OS:
macOS (13.0.1)
CPU:
Apple M1
[v] Java
Java
(openjdk version "19.0.1" 2022-10-18)
Location:
/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home/bin/java JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-19.jdk/Contents/Home *
Note that, by default, Android Studio uses bundled JDK for Gradle tasks
execution.
Gradle
JDK can be configured in Android Studio Preferences under Build, Execution,
Deployment -> Build Tools -> Gradle section[v] Android Studio
Android
Studio (2021.2)
Location:
/Applications/Android <http://Studio.app|Studio.app>
Bundled
Java: openjdk 11.0.12 2021-07-20
Kotlin
Plugin: 212-1.7.10-release-333-AS5457.46
Kotlin
Multiplatform Mobile Plugin: 0.3.4(212-1.7.11-357-IJ)-116[v] Xcode
Xcode
(14.1)
Location:
/Applications/Xcode.app[x] Cocoapods
ruby
(ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5)
[arm64-darwin22]) ruby gems
(3.1.6) cocoapods (1.11.3) *
cocoapods-generate plugin not found
Get
cocoapods-generate from <https://github.com/square/cocoapods-generate#installationFailures>:
1
KDoctor has
diagnosed one or more problems while checking your environment.
Please check
the output for problem description and possible solutions.
I installed cocoapods-generate via the following command:
gem install
cocoapods-generate
Successfully
installed cocoapods-generate-2.2.2
Parsing
documentation for cocoapods-generate-2.2.2
Done
installing documentation for cocoapods-generate after 0 seconds
1 gem
installed
I checked to see if it is installed via the following command:
gem list
*** LOCAL
GEMS ***
benchmark
(default: 0.1.0)
bigdecimal
(default: 2.0.0)
bundler
(default: 2.1.4)
cgi (default:
0.1.0.2)
cocoapods-disable-podfile-validations
(0.1.1)
cocoapods-generate
(2.2.2)
csv (default:
3.1.2)
My MacBook pro is Apple M1 chipset running Ventura 13.0.1
At this point I am not sure what the problem is, the ruby version is below 3.0.0 as recommended by kdoctor so don't understand what's causing this error.
Any help is appreciated, thank you.Abdul Khaliq
12/03/2022, 9:52 AMcocoapods-generate
is not compatible with Ruby 3.0.0 or later. Try downgrading to Ruby 2.7.* and check again.Steve Malek
12/05/2022, 3:22 AMAbdul Khaliq
12/06/2022, 1:22 PM[v] Cocoapods
ruby (ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [arm64-darwin21])
ruby gems (3.1.6)
cocoapods (1.11.3)
cocoapods-generate (2.2.2)