Currently, I just using the sample project without cocoapods but android studio no turn on code suggestion and autocomplete. Example "dispatch_get_main_queue" and "dispatch_async". is it need another plugin?
Sorry for the delayed response. With your configuration, you're having two native source sets, ios_x86_64Main and ios_arm64Main. Autocomplete should work for both of those. However, I looked at the repo you linked and it's creating a common source set for both of those so you can code it iniosMain`. I'm afraid there's still an issue with this.
If you are using cocoapods for your native targets, you can do a switching mechanism like they do here
Currently, I just using the sample project without cocoapods but android studio no turn on code suggestion and autocomplete. Example "dispatch_get_main_queue" and "dispatch_async". is it need another plugin?
How are you configuring your native targets?
this is my config
I following from github link github.com/adrianbukros/github-mul...
Sorry for the delayed response. With your configuration, you're having two native source sets,
ios_x86_64Main
and ios_arm64Main. Autocomplete should work for both of those. However, I looked at the repo you linked and it's creating a common source set for both of those so you can code it in
iosMain`. I'm afraid there's still an issue with this.`kotlin
`
gradle.properties
.kotlin.mpp.enableGranularSourceSetsMetadata=true
did it, Thank you so much!