Jonathan
11/30/2025, 2:24 AMPablichjenkov
11/30/2025, 2:52 AMklib directly from Xcode or SPM.
To consume directly from SPM or Xcode the packaging has to be a bit different. Instead of a klib the library owner should deliver an .framework file.
But this second modality is rarely used since normally you want to consume many kmp libraries and for that you need an umbrella module anyway.
However, you can create an umbrella project consume all klibs you want and then create and host an .framework of your company umbrella project. So the iOS team just consume that umbrella framework containing all the kmp features, this is the most popular approach.