I just tried to create a new KMM project with Andr...
# multiplatform
a
I just tried to create a new KMM project with Android studio and got this error when it tried to build:
'pod install' command failed with code 1.
Error message:
Please, check that podfile contains following lines in header:
source '<https://cdn.cocoapods.org>'
How do fix this?
p
I had that problem last week as well while switching to cocoapods. Installing an earlier version of cocoapods helped for me. I think I went with
1.10.0
The Project should work out of the box without further config, btw. I tested that last week and it went fine (after switching to another cocoapods version).
a
Hmm the wizard probably generates a version that has a problem. I’ll try your suggestion when I switch. Thanks!
p
Does the wizard install cocoapods? I think you have to do that manually, no?
a
You’re right. I was planning to do the android stuff first so didn’t want to bother configuring cocoapods now. But that’s what I was missing
j
@Paul Weber how do you switch to an earlier version of cocoapods using brew. Still stuck with this error.