Matti MK
03/09/2022, 2:59 PM./gradlew :shared:podInstall
on command line (both terminal and Android Studio)
Execution failed for task ':shared:podInstall'.
> 'pod install' command failed with code 1.
Error message:
Please, check that podfile contains following lines in header:
source '<https://cdn.cocoapods.org>'
Please, check that each target depended on shared contains following dependencies:
Running pod install
from terminal in iOS project folder works well. locale
on both Android Studio & terminal output LANG="en_US.UTF-8"
. cocoapods (1.11.2)
and cocoapods-generate (2.2.2)
versions seem to be fine. Android Studio version is 2020.3.1
and Xcode 13.2.1
.
Any tips on fixing the issue?Matti MK
03/09/2022, 3:05 PMREPO_ROOT="$PODS_TARGET_SRCROOT"
"$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
The operation couldn't be completed. Unable to locate a Java Runtime.
Please visit <http://www.java.com> for information on installing Java.
Command PhaseScriptExecution failed with a nonzero exit code
Konstantin Tskhovrebov
03/09/2022, 4:04 PMbrew install kdoctor
and run kdoctor
show me the output. it will help to diagnose the problemKonstantin Tskhovrebov
03/09/2022, 4:04 PMMatti MK
03/09/2022, 5:46 PM