Hi all. Small question, does anyone recognize this...
# multiplatform
t
Hi all. Small question, does anyone recognize this issue? I’m integrating an existing iOS project into an Android one. The shared kmm module lives inside that same Android project. I’m integrating the iOS project using a git submodule. When I try to build the project however, the following command fails:
Copy code
Showing All Messages
                "$REPO_ROOT/../gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework                     -Pkotlin.native.cocoapods.platform=$PLATFORM_NAME                     -Pkotlin.native.cocoapods.archs="$ARCHS"                     -Pkotlin.native.cocoapods.configuration="$CONFIGURATION"
due to: Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain I can’t seem to modify the script in the .pubspec to echo the location of $REPO_ROOT, but when I try to run this command from the root of the iOS project it does work. Is there a way to modify the relative path used in the .pubspec to call the gradle task? Seeing how the pubspec file is generated I’m not sure how to go about this.. Not even sure why it’s not working, it could be because I’m using a symlink in the Podfile to link to the shared kmm module?
Apologies, I meant .podspec not .pubspec