I have a kotlin native library that defines interface IDevice. I build this native library into basic.xcframework.
Then i create a swift with objc bindings library that uses basic.xcframework and CoreBluetooth and provides: IosDevice which implements IDevice. And similiar for Android.
Now i have an: expect fun getDevice() : IDevice
And on android i have actual fun getDevice: IDevice, which works.
On iOS i've added my dependency to IosImpl.xcframework which depends on basic.xcframework. Now when i try to return IDevice i get an error:
Inferred type is NEKIDevice expected IDevice.
???