Victor Sandoval
01/18/2023, 8:27 AMBuild iOS application failed with code: 65
Another issue I ran into, which I think is connected to the issue above, is that when i ran
kdoctor
i was greeted with the following
[✖] Cocoapods
✖ System ruby is currently used
CocoaPods is not compatible with system ruby installation on Apple M1 computers.
Please install ruby via Homebrew, rvm, rbenv or other tool and make it default
I have attempted to fix this specific issue for the past few hours but have been unsuccessful. Any help would be really appreciated and apologies in advance if the solution is really simple.Konstantin Tskhovrebov
01/18/2023, 8:35 AMVictor Sandoval
01/18/2023, 8:41 AM[✓] Operation System
➤ Version OS: macOS 13.1
CPU: Apple M1
[✓] Java
➤ Java (java version "1.8.0_351")
Location: /Library/Java/JavaVirtualMachines/jdk1.8.0_351.jdk/Contents/Home/bin/java
➤ JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_351.jdk/Contents/Home
[✓] Android Studio
➤ Android Studio (AI-221.6008.13.2211.9477386)
Location: /Applications/Android <http://Studio.app|Studio.app>
Bundled Java: openjdk 11.0.15 2022-04-19
Kotlin Plugin: 221-1.7.21-release-for-android-studio-AS5591.52
Kotlin Multiplatform Mobile Plugin: 0.5.1(221)-61
i 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
[✓] Xcode
➤ Xcode (14.2)
Location: /Applications/Xcode.app
i Xcode JAVA_HOME: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
Xcode JAVA_HOME can be configured in Xcode -> Preferences -> Locations -> Custom Paths
[✖] Cocoapods
➤ ruby (ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22])
✖ System ruby is currently used
CocoaPods is not compatible with system ruby installation on Apple M1 computers.
Please install ruby via Homebrew, rvm, rbenv or other tool and make it default
➤ ruby gems (3.0.3.1)
➤ cocoapods (1.11.3)
Konstantin Tskhovrebov
01/18/2023, 9:03 AMKonstantin Tskhovrebov
01/18/2023, 9:12 AMbo
02/23/2023, 4:41 AM