brabo-hi10/04/2023, 6:14 AM
Tadeas Kriz10/05/2023, 12:52 PM
kpgalligan10/05/2023, 1:23 PM
, is this a local file, a cocoapods or spm dependency? You'd need to: • point cinterop at the headers (and only Objc or Swift that exports to Objc will work. Regular Swift code will not) • tell the linker about the binary Kotlin CocoaPods support should handle this directly (unless it runs into a bug, which isn't super uncommon for complex CocoaPod dependencies). It'll run cinterop and make sure the binary can be linked. I don't know of an SPM version of the same that will handle it all automatically. You can manually wire this up as well, although if you're not familiar with cinterop, it'll be a bit of a research project. Just FYI.
brabo-hi10/07/2023, 5:30 PM