If you are building an iOS app with Kotlin Multiplatform (KMP) or Compose Multiplatform, you might have opened your generated Shared. h header at some point and wondered why it is 20,000+ lines long. I ran into this recently while optimizing one of my personal KMP apps.

Source: [Dev.to](https://dev.to/siddhantpanhalkar/i-inspected-my-kmp-ios-export-header-61-of-it-was-dead-weight-heres-what-i-found-and-built-3mef)

Sponsored