I'm trying to better understand the interplay between KMM libraries, XCFrameworks, and App Extensions.
My business case is as follows: I'm trying to realize a library that allows KMM apps to offer certain system services (password autofill) in a system-agnostic manner.
To implement the system-specific parts (without using a library), an app needs to register a suitable service via the manifest (Android) or offer a suitable app extension (iOS).
I am now trying to move these system-specific parts to a KMM library. Doing so on Android is fairly trivial, since my library includes its own AndoidManifest.xml, which is automatically merged into the embedding app's.
This is where my question comes in: how can I do this on iOS? Can I specify an app extension in a KMM library, which will then become an extension of any app including my library? If not, how can I make the embedding process as painless as possible for any app depending on my library? I feel like my understanding of the interplay between KMM sources, Frameworks, App Extensions, and actual apps, is what's lacking here.