Importing headers files for iOS

So, I am working on a kotlin multiplatform project and I need to use some headers files for iOS part. I have searched a bit and I didn’t find an explanation in how to use it. How do I configure the gradle? Is it easier to use cocoapod instead if h files?

Thank you for your attention

Hello! First of all, some frameworks are available by default - see here. If you want to use some other framework in your Kotlin code, you have two approaches:

  1. Add a framework to your project manually, and write a .def file to configure the interop tool. Almost the same way as it’s done for a C library.
  2. Use CocoaPods plugin to get frameworks automatically (see this sample).

Also, I should recommend you to take a look at this part of the documentation.