https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
p

Priyanshu Jain

07/27/2022, 5:15 AM
Hey everyone. Just tried KMM for the first time. The build for iOS fails when trying to launch the default project (hello world project) from both Android Studio or XCode. This is the build log:
BUILD FAILED in 5s
Command PhaseScriptExecution failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Run\ Script /Users/priyanshujain/AndroidStudioProjects/Test/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-7555FFB5242A651A00829871.sh (in target 'iosApp' from project 'iosApp')
(1 failure)
Can anyone help me with this? Thanks 🙂
✔️ 1
k

Konstantin Tskhovrebov

07/27/2022, 8:55 AM
Try to check your environment with Kdoctor
p

Priyanshu Jain

07/27/2022, 10:40 AM
It was a java version problem. Thanks for the help 🙂
7 Views