@here Is it possible to add swift framework binary to compose ios project ?
l
Landry Norris
11/19/2022, 8:30 PM
Kotlin doesn't currently have Swift interop, so you can only call into methods marked with the objc annotation (or create a Swift framework that calls the methods you want and mark that framework's methods with objc). If you set up a normal Kotlin iOS project without the uikit*Main, you can include frameworks like normal.
a
Anmol Verma
11/21/2022, 3:37 AM
Thanks for the reply! Yes the ios framework has objc support. So is it possible to add the framework when running the compose ios app ? I am using protobuf as a pod in a kmp library but somehow the protobuf.framework is not included in the compose ios app! @Landry Norris