I have created open class GitHubApiClient
in SharedCode
module kotlin-multiplatform
. When I extend this class in Android app it works fine, but when I want to extend class in IOS app I have an error:
In the SharedCode
module class is open:
In Xcode class GitHubApiClient
looks like this:
How I can fix this problem? I need that this class will be open in Xcode too.
I use kotlin_coroutines version 1.3.0
ktor version 1.2.4
and kotlin serialization version 0.12.0
Try to change private
to open
in GithubApiClient constructor.