I am trying to run iosApp of KMM project in Xcode, but i am getting error
Command PhaseScriptExecution failed with a nonzero exit code
here is the log
export variant\=normal
/bin/sh -c /Users/jitendraprajapati/Library/Developer/Xcode/DerivedData/iosApp-ftrrlcszyheexqhbvoqhhryktogx/Build/Intermediates.noindex/Previews/iosApp/Intermediates.noindex/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-7555FFB5242A651A00829871.sh
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
I have java installed, and app is running well from androidStudio, I tried solution mentioned in this
link. but no success .