You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because there's a circular dependency between KotlinCoroutineContext and KotlinCoroutineContextElement there needs to be a forward declaration of the KotlinCoroutineContextElement at the top of the header file, like:
I found in my headerfile there were already some similar forward declarations which suggests this is something that's been considered, but for whatever reason is not working in this specific instance.
I found that manually editting the header file could resolve the problem, but this isn't a viable solution.
Kotlin: 1.3.40
Coroutines: 1.2.2
Gradle: 5.4.1
After upgrading Kotlin and coroutines we receive the following error in Xcode for our ios build:
Cannot find protocol declaration for 'SharedCodeKotlinCoroutineContextElement'; did you mean 'SharedCodeKotlinCoroutineContextKey'?
The text was updated successfully, but these errors were encountered: