Closed Chopyhoo closed 4 years ago
hi! you should connect kotlin/native framework as cocoapod with name MultiPlatformLibrary. Just like here https://github.com/icerockdev/moko-mvvm/blob/master/sample/ios-app/Podfile#L19
i think issue resolved
Hi @Alex009,
I have the same issue, then I edited my Podfile just like you suggested, but I use releare -> 0.7.1
When I run pod install, it says:
[!] No podspec found for MultiPlatformLibrary
in ../mpp-library
Is there anything wrong? Thanks!
@shasha1023 hi!
you have file MultiPlatformLibrary.podspec at path ../mpp-library
?
No.
@shasha1023 cocoapods search MultiPlatformLibrary.podspec
file at path ../mpp-library
. example of podspec here - https://github.com/icerockdev/moko-mvvm/blob/master/sample/mpp-library/MultiPlatformLibrary.podspec
The Kotlijn Multiplatform in Android Studio setup automatically creates a shared
folder and a shared.pubspec
, when I try to rename the framework's baseName
in shared/build.gradle.kts
to MultiPlatformLibrary
the pubspec file still remains shared/shared.pubspec
so I get Pod errors and iOS cannot compile 😰
Is there a way to make the library work without the framework rename? If not, is there a way to make the tooling change the framework name in all required places at once? It seems I'm going down a rabbit hole with the framework rename step.
Thanks in advance.
Hi!
Trying to install via cocoa pods and getting an error:
"Pod repo update" doesn't fix the problem, although without it binding LiveData works fine.
Is there something I'm missing? Thank you