Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 726 Bytes

knownissues.md

File metadata and controls

17 lines (10 loc) · 726 Bytes

Known Issues

KMP project with single target

  • Unresolved reference for API class

When you have a KMP project with a single target, IntelliJ will find the generated "create" extension function (e.g. ktorfit.createExampleApi()) in your common module, but the compilation will fail because of an "Unresolved reference" error. In that case, you have to use ktorfit.create<ExampleApi>() to make it work, even though it's already deprecated.

Kotlin handles the compilation of a KMP project with a single target differently than with multiple targets.

See: