https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
k

Kris Wong

08/28/2019, 4:02 PM
Any chance all these issues with IDEA will get cleaned up in the near future?
would be great if my source in iosMain wasn't all red
l

louiscad

08/28/2019, 8:32 PM
You can try cloning the develop branch of that project: https://github.com/LouisCAD/Splitties/tree/develop and look into the module named
preferences
. It supports iOS, macOS and Android, and there's no red code in the IDE thanks to custom logic from
buildSrc
I use in the
build.gradle.kts
. Requires Android Studio 3.5.0, all iOS/macOS symbols are resolved.
k

Kris Wong

08/28/2019, 8:52 PM
thanks. would prefer it just work than have to setup a bunch of custom stuff. 🙂
l

louiscad

08/29/2019, 5:57 AM
Remember it's still experimental. Hierarchical Multiplatform is next, and will probably fix that all, but it's not ready yet.
g

gildor

08/29/2019, 9:21 AM
setup a bunch of custom stuff
It should work out of the box if it doesn’t report to kotl.in/issue
s

svyatoslav.scherbina

08/30/2019, 10:46 AM
You likely have incorrect project configuration.
k

Kris Wong

08/30/2019, 12:49 PM
You likely have incorrect project configuration.
not sure how to get a correct one, but it builds fine and the tests all pass