Charles Prado
03/30/2021, 11:38 PMset -ev
REPO_ROOT="$PODS_TARGET_SRCROOT"
"$REPO_ROOT/../gradlew" -p "$REPO_ROOT" :shared:syncFramework \
-Pkotlin.native.cocoapods.target=$KOTLIN_TARGET \
-Pkotlin.native.cocoapods.configuration=$CONFIGURATION \
-Pkotlin.native.cocoapods.cflags="$OTHER_CFLAGS" \
-Pkotlin.native.cocoapods.paths.headers="$HEADER_SEARCH_PATHS" \
-Pkotlin.native.cocoapods.paths.frameworks="$FRAMEWORK_SEARCH_PATHS"
The error doesn't say so much, only that:
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
I tried then to run ./gradlew -p . :shared:syncFramework
directly from the terminal and it says that
Task 'syncFramework' not found in project ':shared'.
Any ideas how can I solve that?