Hi all, i am working on kotlin multiplatform app a...
# multiplatform
s
Hi all, i am working on kotlin multiplatform app and i have created two separate projects for android and ios, and inside android project i have setup the kmm shared module. Then i am importing the shared module in ios project in xcode by setting the hardcoded path for both framework search path and run script. And it was working perfectly. But now due to some issue, i had to import the project from git and created the project in separate directory on my macbook and then accordingly changed the paths in xcode as well. But now its showing build error there as following:-
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
Important point: What is different that i have seen from my previous project(which was working) is that inside new android project's shared/build/ directory, no xcode-frameworks and bin folders found there, these folders are not available there inside new project.  I have been following everything from this link since the beginning for setting up the project:https://kotlinlang.org/docs/kmm-integrate-in-existing-app.html#connect-the-framework-to-your-ios-project. Guys Please help me with this. Struggling a lot with this. Thanks
a
Running gradle wrapper and then
Copy code
./gradlew assembleRelease
should resolve this issue