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

Erling Fjelstad

10/31/2018, 12:15 PM
Hello. I just started a multiplatform project through IntelliJ's Kotlin(Mobile Android/iOS) project. I got it to compile and build on Android. However, I'm unable to access iOS specific domain information (such as UiDevice) in a kotlin file under the iosMain folder. Does anyone know what I have to do?
o

orangy

10/31/2018, 12:41 PM
Do you see native dependencies in Gradle view in IJ?
e

Erling Fjelstad

10/31/2018, 12:58 PM
yeah, those are empty now. Like this: iosMain { } iosTest { }
Suddenly I found this error: HttpErrorStatusCodeException: Could not GET 'http://dl.bintray.com/kotlin/kotlin-eap/Kotlin/Native/stdlib/0.9.3/stdlib-0.9.3.pom'. Received status code 403 from server: Forbidden
o

olonho

10/31/2018, 1:17 PM
looks like IDE/Gradle plugin mismatch, could you please try with Kotlin 1.3 release
e

Erling Fjelstad

10/31/2018, 1:19 PM
Same problem HttpErrorStatusCodeException: Could not GET 'http://dl.bintray.com/kotlin/kotlin-eap/Kotlin/Native/stdlib/1.0.1/stdlib-1.0.1.pom'. Received status code 403 from server: Forbidden