I am working on an iOS project and my colleagues created a KMM library to share some code and I managed to integrate it via a framework file (planning on putting it into a Swift Package later on).
The main issue I have is that I can't get autocomplete in Xcode to work properly with it. I have some methods and classes that get autocompleted and some that never do.
For the ones that don't; I have to look at the objective c header files, try my best to match it and then hope that it compiles. It's really a painful and time consuming process.
Any idea where I could start troubleshooting?
EDIT: The framework xcframework file was created using
04/06/2022, 2:06 PM
TouchLab have a plugin that should make this work for you, or at least let you see code that might help your understanding
04/06/2022, 2:08 PM
If you're talking about this https://github.com/touchlab/xcode-kotlin, then it seems like it's for supporting Kotlin in Xcode.
My issue is with the native framework file that was created using KMM (it's a binary with Objective C code)