timkranen
06/20/2022, 12:07 PMShowing 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?timkranen
06/20/2022, 12:10 PM