I am getting this fatal error when trying to run i...
# kotlin-native
j
I am getting this fatal error when trying to run iOS simulator tests for a Kotlin Multiplatform project:
Copy code
com.intellij.execution.ExecutionException: No configuration for executable=KonanExecutableBase(targetType=ios_x64, targetName=iOSSim, executableName=test, projectPrefix=:flowdriver:)
	at com.jetbrains.mpp.debugger.GradleLLDBBackend.binaryConfiguration(GradleLLDBBackend.kt:21)
	at com.jetbrains.mpp.debugger.GradleLLDBBackend.binaryConfiguration(GradleLLDBBackend.kt:16)
	at com.jetbrains.mpp.debugger.LLDBBackendBase.debugConfigurationSettings(LLDBBackendBase.kt:95)
	at com.intellij.openapi.externalSystem.service.execution.ForkedDebuggerThread.handleForkedProcessSignal(ForkedDebuggerThread.java:143)
	at com.intellij.openapi.externalSystem.service.execution.ForkedDebuggerThread.run(ForkedDebuggerThread.java:102)
Notably, when I tried to run these tests the first time, an Xcode dialog popped up asking for my password to give permission for
xcrun
(or something like that) and I accidentally clicked cancel and dismissed the prompt. Is it possible that I need to somehow reset that prompt so I can enter my password and fix this?
k
Hey Justin, could you please manually remove all Kotlin/Native Application configurations and reimport the project? And what version of IDEA, Kotlin and Native Debugging Support plugins do you use?
j
Where exactly is that panel in the IDE? And I am using IDEA Ultimate 2020.1.1, Kotlin 1.3.72, and I don't believe I have any non-standard native debugging support plugins?
k
This is Run configurations editor. You are supposed to have one https://plugins.jetbrains.com/plugin/12775-native-debugging-support since you are able to start debug of native application (othervise debug can not work — just want to exclude possibility that it somehow starts without this plugin).