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

Fail

06/13/2019, 3:45 PM
Hi again. I want to add ktor library to my project. I paste dependence in project:
Copy code
iosMain {
            dependencies {
                implementation "io.ktor:ktor-client-ios:$ktor_version"
            }
        }
But it not compiling. Error:
Copy code
> Task :app:linkDebugFrameworkIos
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_UIDevice", referenced from:
      objc-class-ref in combined.o
ld: symbol(s) not found for architecture x86_64
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors

> Task :app:linkDebugFrameworkIos FAILED
a

Artyom Degtyarev [JB]

06/13/2019, 3:54 PM
3 Views