Hi guys, I updated the kmm plugin and then upgrade...
# multiplatform
r
Hi guys, I updated the kmm plugin and then upgraded kotlin version to
1.6.0
and the project is not syncing anymore. I also get the same error when trying to create a new KMM project. I have tried
pod install
in
iosApp
and then sync but still the same error. I have also tried invalidate caches and restart (AS). Stack trace in the thread.
Copy code
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:podInstall'.
> 'pod install' command failed with code 1.
  Error message:
  
         Please, check that podfile contains following lines in header:
         source '<https://cdn.cocoapods.org>'
  
          Please, check that each target depended on shared contains following dependencies:
s
I also upgraded the kotlin version and kmm plugin and have a similar problem. I couldn't find a solution, so I decided to downgrade the kotlin version to 1.5.31 temporarily, since the kotlin version seems to be the issue for my project.
r
Yes works fine with 1.5.31 for me as well