https://kotlinlang.org logo
#getting-started
Title
# getting-started
j

Justin Xu

02/04/2022, 6:16 PM
Hi everyone, I'm getting started with KMM with cocoapods as outlined in the documentation on the website, but I keep running into this error:
'pod install' command failed with an exception:
Cannot run program "pod" (in directory "...../iosApp"): error=2, No such file or directory
I installed cocoapods using ruby2.7.5, and I am on M1 mac, following the troubleshooting guide here(youtrack.jetbrains). My "pod install" command also works in the folder, I am just not sure why this error keeps showing up.
s

Semir Rahic

02/06/2022, 6:20 PM
I remember I had the same issue. This one helped me Cocoapods-M1 (tl;dr; uninstall cocoapods and install via ‚brew install cocoapods‘)
2 Views