There seems to be a configuration bug on CMP proje...
# compose-ios
d
There seems to be a configuration bug on CMP projects (Android+iOS+Desktop) created with the KMP wizard: https://kmp.jetbrains.com/?android=true&ios=true&iosui=compose&desktop=true&includeTests=true When I run the iOS app (with a Mac, targeting a physical iPhone) I get this error:
Error running "iosApp"
@NotNull method com/intellij/execution/configurations/GeneralCommandLine.getExePath must not return null
I also get a warning:
search path '/Users/MYDIR/KotlinProject/shared/build/xcode-frameworks/Debug/iphoneos18.5' not found
It's looking for that file in the "shared" directory, which doesn't exist. I can see the "/shared/" path is referenced inside the "_/Users/MYDIR/KotlinProject/iosApp/iosApp.xcodeproj/project.pbxproj_" file, in the "FRAMEWORK_SEARCH_PATHS" values. This is the first KMP project I see without the "shared" subproject, having only the "ComposeApp" and "iosApp" subprojects. The KotlinConf app still has a "shared" subproject, despite being a CMP app. In case of a CMP app, not having a "shared" subproject makes sense to me, as all the shared code can go within the "ComposeApp" subproject. So, the project structure sounds right. There must be some bugs in the project configurations.