Bijan Cronin
02/28/2025, 12:57 AM> Task :shared:linkDebugFrameworkIosSimulatorArm64
w: 'var IntelyShared.Ktor_httpHttpStatusCode.description' was renamed to 'var IntelyShared.Ktor_httpHttpStatusCode.description_' because of a name collision with an another declaration 'func IntelyShared.KotlinBase.description() -> Swift.String'. Consider resolving the conflict either by changing the name in Kotlin, or via the @ObjCName annotation. You can also suppress this warning using the 'SuppressSkieWarning.NameCollision' configuration. However using renamed declarations from Swift is not recommended because their name will change if the conflict is resolved.
(at public final val description: kotlin.String defined in io.ktor.http.HttpStatusCode from module <io.ktor:ktor-http>)
dorche
02/28/2025, 9:06 PMtoString()
gets translated to description
on the iOS side but
HttpStatusCode
has a field named description
too which needs to then be renamed to description_
dorche
02/28/2025, 9:07 PMBijan Cronin
03/01/2025, 12:43 PMdorche
03/01/2025, 3:28 PMBijan Cronin
03/02/2025, 8:26 AMBradleycorn
03/05/2025, 7:58 PMBijan Cronin
03/05/2025, 8:37 PMBradleycorn
03/05/2025, 10:11 PMBijan Cronin
03/05/2025, 10:50 PMshaktiman_droid
03/06/2025, 3:17 PMpublic
class that takes input of HttpClient
or Engine
or something from ktor in the constructor. If you're export(ThatModule)
then ktor would be exposed.
You want to find all the public class and methods in all exported modules and see if you've ktor
reference either in constructor, or any method param or return value etc.shaktiman_droid
03/06/2025, 3:20 PMpublic
keyword in all the classes that you really intend to make public and then it would be easier to find where ktor
is accidentally getting exposed
kotlin {
explicitApi = ExplicitApiMode.Strict
}
shaktiman_droid
03/06/2025, 3:20 PMpublic
instead of everything is public by default in KotlinBradleycorn
03/06/2025, 3:24 PMBijan Cronin
03/06/2025, 3:24 PMshaktiman_droid
03/06/2025, 3:26 PMprivate/internal/public
Bijan Cronin
03/06/2025, 3:26 PMinternal actual fun platformModule() =
module {
single<HttpClientEngine> { Darwin.create() }
}
Bijan Cronin
03/06/2025, 3:28 PMBijan Cronin
03/06/2025, 3:30 PM