Michal Klimczak
08/24/2021, 2:36 PM/Users/teamcity3/buildAgent/work/290aee0e088a1666/runtime/src/main/cpp/ObjCExport.mm:276: runtime assert: Unexpected selector clash
My app crashes with this error when something like this is invoked from swift code libraryManager.observeDownloadErrors()
.
What is also funny here, is that usually when I try to navigate to a kotlin method in xcode, it takes me to the shared.h file which is barely legible obj-c gibberish. But when I navigate from this particular method which crashes, it takes me to some Swift file (but is still definitely what I have defined in kotlin):
public class LibraryManager : KotlinBase {
open func observeDownloadErrors() -> KoruFlowWrapper<SomeKotlinException>
...
}
Michal Klimczak
08/24/2021, 2:45 PMextension SomeKotlinException {
open override var message: String {
Michal Klimczak
08/25/2021, 10:43 AM