I’ve began to develop a kmp undertaking and adopted this guidlines. At first every little thing was good/working as I anticipated. However in some way I couldn’t open the undertaking on the IOS simulator. Android remains to be working superb however IOS isn’t.
I get this under error;
ERROR: JAVA_HOME is about to an invalid listing:
/Customers/my-user/Library/Java/JavaVirtualMachines/openjdk-22.0.1/Contents/House
I’ve modified the JAVA_HOME path to a different one:
/Customers/my-user/Library/Java/JavaVirtualMachines/jbr-17.0.9/Contents/House
however it didn’t work.
BTW after I run the kdoctor
command on the terminal it says; ✓ Your operation system is prepared for Kotlin Multiplatform Cell Improvement!
I additionally requested this concern to ChatGPT and it all the time says these;
- set the JAVA_HOME path
- verify the java path if its’ appropriate
- and many others.