Kotlin/Native Podfile setup


I’m working on Kotlin/Native module with inntegration it with iOS Xcode project.
I saw next statement in the documentation:

“To correctly import the dependencies into the Kotlin/Native module, the Podfile must contain either use_modular_headers! or use_frameworks! directive.”

I don’t understand how the Podfile configuration of building dependencies are affecting the import of specific Pods in the Kotlin/Native module.
Could somebody explain me please?
Thank you