Hey I have a KMP project that has android and iOS ...
# multiplatform
e
Hey I have a KMP project that has android and iOS targets. I’m trying to implement an iOS specific ViewModel (i.e. an
actual
implementation for iOS) that launches operations on coroutine contexts, but IntelliJ CE isn’t importing dependencies correctly. The code compiles and runs fine, but the editor can’t find kotlinx or any darwin packages. Anyone else run into this issue?
e
@Derek Ellis thank you, that gets me further! The
kotlinx
package is now visible, but the
platform
package is still missing (despite compiling and working).
i
That happened to me earlier, try rebuilding (clean + build)
e
Clean/build doesn’t seem to have done it, also tried invalidating caches and restarting. Still can’t see the platform package, but it will compile and run on a device 😕