In an Objective-C framework, I created a custom vi...
# multiplatform
m
In an Objective-C framework, I created a custom view that extends UIView. The cinterop process creates a constructor that takes a
CValue<platform.CoreGraphics.CGRect>
as an argument. I'm trying to upgrade to Xcode 14.0.1, and the constructor has now changed to take
CValue<mypackage.CGRect>
, so I can no longer pass in the value from
CGRectMake
. I don't really want my own copies of the platform types. I'm using Kotlin 1.7.0. Is this a known bug that will get fixed or am I likely doing something wrong in my interop setup.
Copy code
language = Objective-C
modules = PangeaMapView
linkerOpts = -framework PangeaMapView
I tried added
depends CoreGraphics
but that didn't change anything.