Hi folks, I build KMP app with for android ios and...
# multiplatform
j
Hi folks, I build KMP app with for android ios and desktop. I didnt have a ios device so, i was testing on android and desktop mainly. It works well on android and desktop. Now i have access to a mac and when i tried installing it on an ios simulator. The app is installing but i am getting an exception when the app starts.
Copy code
Can't show file for stack frame : <DBGLLDBStackFrame: 0x31d3109a0> - stackNumber:7 - name:kfun:kotlinx.coroutines.internal#propagateExceptionFinalResort(kotlin.Throwable){}. The file path does not exist on the file system: /opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/internal/CoroutineExceptionHandlerImpl.kt
I found this which suggests this as a solution. But its not working for me. Any help will be appreciated. 🙏 Can give more info if needed.
crashLog
THE ISSUE IS RESOLVED
Copy code
@Query("SELECT SUM(CASE WHEN LOWER(status) <> 'deleted' AND LOWER(status) <> 'settled' THEN amount ELSE 0 END) AS totalAmount FROM `lenddata`")
suspend fun getTotal(): String
I updated it to
suspend fun getTotal(): String?
Which resolved my issue.