Importing an iOS package/framework in iOS Kotlin Native code causes 'Packages cannot be imported' error

Hi,

I am trying to integrate an iOS framework into my KMM project.

Following the docs here: Add dependencies to KMM modules | Kotlin Multiplatform Mobile Docs

I was able to build the project successfully.

But trying to import the new package: import com.mysdk
that was declared in .def file: package = com.mysdk

Causes this compilation error: Packages cannot be imported .

Any idea what could be wrong here ?

Thanks!

I think the problem is from the import itself, I had to do import com.mysdk.*