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

Nikolai

11/09/2018, 6:17 AM
Looks like am doing something wrong and iOS module didn’t recognize ktor, even after I added needed dependency. (here is my project in github, I messed up with gitignore, but still it’s not so big : https://github.com/nbaklanov-issart/ktorTry) Do I missing something? Do I need to add or set something else?
o

orangy

11/09/2018, 7:19 AM
@e5l ^^
👀 1
e

e5l

11/09/2018, 8:15 AM
Hi @Nikolai. Thanks for the report. The iOS client engine dependency is separate from core:
Copy code
implementation "io.ktor:ktor-client-ios:1.0.0-beta-3"
👍 1
Also you have to put:
Copy code
enableFeaturePreview('GRADLE_METADATA')
in
settings.gradle
👍 1
n

Nikolai

11/09/2018, 8:31 AM
@e5l Thank you for response! Yes, those two changes solved problem. Thanks!
🎉 1
2 Views