mkrussel
01/06/2021, 4:57 PMlanguage = Objective-C
modules = ModuleName
linkerOpts = -framework ModuleName
It is failing with error message cannot find protocol declaration for 'CLLocationManagerDelegate
I tried added -framework CoreLocation
as a compiler option, but it still doesn't find it.
How do you create a cinterop for a framework that depends on CoreLocation
?
I noticed the header file has
@class CLLocationManager;
@class CLLocation;
@class CLHeading;
But no foreword declaration of CLLocationManagerDelegate
, but I don't know enough about Swift and Objective-C to tell if that is a broken header file or not.