Jonas Bark
10/17/2018, 2:20 PM> Task :common:linkDebugFrameworkIos
Undefined symbols for architecture arm64:
"_private_classes_<ktor-client-core-ios>_io.ktor.client.request.DefaultHttpRequest_94", referenced from:
_kfun:com.stihl.app.module.connect.api.Ios2ClientEngine.execute(io.ktor.client.call.HttpClientCall;io.ktor.client.request.HttpRequestData)io.ktor.client.call.HttpEngineCall in combined.o
"_private_functions_<ktor-client-core-ios>_kfun:io.ktor.client.request.DefaultHttpRequest.<get-content>()io.ktor.http.content.OutgoingContent_133", referenced from:
_kfun:com.stihl.app.module.connect.api.Ios2ClientEngine.execute(io.ktor.client.call.HttpClientCall;io.ktor.client.request.HttpRequestData)io.ktor.client.call.HttpEngineCall in combined.o
"_private_functions_<ktor-client-core-ios>_kfun:io.ktor.client.request.DefaultHttpRequest.<get-headers>()io.ktor.http.Headers_134", referenced from:
_kfun:com.stihl.app.module.connect.api.Ios2ClientEngine.execute(io.ktor.client.call.HttpClientCall;io.ktor.client.request.HttpRequestData)io.ktor.client.call.HttpEngineCall in combined.o
"_private_functions_<ktor-client-core-ios>_kfun:io.ktor.client.request.DefaultHttpRequest.<get-method>()io.ktor.http.HttpMethod_131", referenced from:
_kfun:com.stihl.app.module.connect.api.Ios2ClientEngine.execute(io.ktor.client.call.HttpClientCall;io.ktor.client.request.HttpRequestData)io.ktor.client.call.HttpEngineCall in combined.o
"_private_functions_<ktor-client-core-ios>_kfun:io.ktor.client.request.DefaultHttpRequest.<get-url>()io.ktor.http.Url_132", referenced from:
_kfun:com.stihl.app.module.connect.api.Ios2ClientEngine.execute(io.ktor.client.call.HttpClientCall;io.ktor.client.request.HttpRequestData)io.ktor.client.call.HttpEngineCall in combined.o
ld: symbol(s) not found for architecture arm64
I suspect it's because of the DefaultHttpRequest but I have no clue how to work around this. Any idea?e5l
10/17/2018, 2:34 PMe5l
10/17/2018, 2:37 PMktor-client-core-ios
and create the method:
fun IosClient(): HttpClientEngineFactory<IosClientEngineConfig> =
TODO("your implementation")
e5l
10/17/2018, 2:40 PMJonas Bark
10/17/2018, 2:55 PMJonas Bark
10/17/2018, 2:55 PM