sharpie bind iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h -sdk iphoneos11.2 Parsing 1 header files... /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:235:1: error: unexpected '@' in program @objc(DFUFirmwareSize); ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:248:41: error: unknown type name 'DFUFirmwareSize' @property (nonatomic, readonly, strong) DFUFirmwareSize * _Nonnull size; ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:248:1: error: property with 'retain (or strong)' attribute must be of object type @property (nonatomic, readonly, strong) DFUFirmwareSize * _Nonnull size; ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:375:1: error: unexpected '@' in program @objc(CBPeripheral); ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:376:1: error: unexpected '@' in program @objc(NSNumber); ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:377:1: error: unexpected '@' in program @objc(CBUUID); ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:412:17: error: expected a type - (BOOL)select:(CBPeripheral * _Nonnull)peripheral advertisementData:(N... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:425:12: error: unknown type name 'CBUUID' - (NSArray * _Nullable)filterByHint:(CBUUID * _Nonnull)dfuSer... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:425:48: error: expected a type - (NSArray * _Nullable)filterByHint:(CBUUID * _Nonnull)dfuSer... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:432:17: error: expected a type - (BOOL)select:(CBPeripheral * _Nonnull)peripheral advertisementData:(N... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:433:12: error: unknown type name 'CBUUID' - (NSArray * _Nullable)filterByHint:(CBUUID * _Nonnull)dfuSer... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:433:48: error: expected a type - (NSArray * _Nullable)filterByHint:(CBUUID * _Nonnull)dfuSer... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:519:1: error: unexpected '@' in program @objc(CBCentralManager); ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:647:49: error: expected a type - (nonnull instancetype)initWithCentralManager:(CBCentralManager * _Non... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:647:100: error: expected a type ...* _Nonnull)centralManager target:(CBPeripheral * _Nonnull)target OBJC_D... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:714:49: error: expected a type - (nonnull instancetype)initWithCentralManager:(CBCentralManager * _Non... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:714:100: error: expected a type ...* _Nonnull)centralManager target:(CBPeripheral * _Nonnull)target OBJC_D... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:763:49: error: expected a type - (nonnull instancetype)initWithCentralManager:(CBCentralManager * _Non... ^ /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h:763:100: error: expected a type ...* _Nonnull)centralManager target:(CBPeripheral * _Nonnull)target OBJC_D... ^ Binding... [write] ApiDefinitions.cs [write] StructsAndEnums.cs Binding Analysis: Automated binding is complete, but there are a few APIs which have been flagged with [Verify] attributes. While the entire binding should be audited for best API design practices, look more closely at APIs with the following Verify attribute hints: ConstantsInterfaceAssociation (112 instances): There's no foolproof way to determine with which Objective-C interface an extern variable declaration may be associated. Instances of these are bound as [Field] properties in a partial interface into a nearby concrete interface to produce a more intuitive API, possibly eliminating the 'Constants' interface altogether. MethodToProperty (125 instances): An Objective-C method was bound as a C# property due to convention such as taking no parameters and returning a value (non-void return). Often methods like these should be bound as properties to surface a nicer API, but sometimes false-positives can occur and the binding should actually be a method. StronglyTypedNSArray (23 instances): A native NSArray* was bound as NSObject[]. It might be possible to more strongly type the array in the binding based on expectations set through API documentation (e.g. comments in the header file) or by examining the array contents through testing. For example, an NSArray* containing only NSNumber* instances can be bound as NSNumber[] instead of NSObject[]. PlatformInvoke (4226 instances): In general P/Invoke bindings are not as correct or complete as Objective-C bindings (at least currently). You may need to fix up the library name (it defaults to '__Internal') and return/parameter types manually to conform to C calling conventionsfor the target platform. You may find you don't even want to expose the C API in your binding, but if you do, you'll probably also want to relocate the definition to a more appropriate class and expose a stronger type-safe wrapper. For P/Invoke guidance, see http://www.mono-project.com/docs/advanced/ pinvoke/. InferredFromMemberPrefix (27 instances): The name of this originally anonymous declaration was taken from a common prefix of its members. Once you have verified a Verify attribute, you should remove it from the binding source code. The presence of Verify attributes intentionally cause build failures. For more information about the Verify attribute hints above, consult the Objective Sharpie documentation by running 'sharpie docs' or visiting the following URL: http://xmn.io/sharpie-docs 19 errors generated. Error while processing /Users/mario.raposo/Documents/Carthage/Build/iOS/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h. Done. Exiting with error code 1. error: Clang failed to parse input and exited with code 1 C51296:iOS mario.raposo$