I'm trying to use the objective-c runtime reflecti...
# multiplatform
j
I'm trying to use the objective-c runtime reflection API called
class_copyPropertyList(Class *_Nullable* cls, *unsigned*
`*int* * _Nullable outCount)`on a class that is apart of the generated ObjC framework for iOS. From the generated header, the ObjC class looks normal as far as how the properties are defined. I would have expected this class to be able to work w/ the ObjC runtime API I mention above as if It was a class I made myself, but it doesn't, instead that API returns 0 properties so it fails to see any property information on the Class type. Has anyone run into this before and have a solution? I'm trying to use a shared KMP class in ObjC in replace of an existing class, but this is failing so I might have to resort to mapping the KMP generated ObjC class to the old identical one to overcome this which is not ideal. I cannot change this API either as has been in production for over a decade and has no issues other than now using a generated ObjC class. Any help would be appreciated! Thanks.