3
votes

I am developing an iOS application using Xamarin Studio. The application is going to work with Infinite Peripherals Linea Pro 5 (a barcode scanner that you attache to an iPod/iPhone). The Linea SDK provided by Infinite Peripherals is an objective-c library with an associated header file. I've followed Xamarins iOS binding tutorial, skipping the first parts and starting at chapter "3.2. Create a Xamarin.iOS Binding Project" (since I already have the fat binary file). I have installed Objective Sharpie v0.4.11 and the Xcode Command Line Tools. When I try to create the binding using Objective Sharpie I get the following error message:

Objective Sharpie error msg

After some research I find that this probably is a bug caused by Objective Sharpie, but is there any way around this bug? I really need to get this library in to my MonoTouch project.

P.S. I have also checked out the tutorial by David Sandor, but it is really outdated and I do not possess enough knowledge to update it.

1

1 Answers

4
votes

If Objective-Sharpie doesn't work for your project, you can:

  • Do a manual binding, or build upon David Sandor's one. That's not that hard.
  • Try to find the offending part of the header file, by removing part of it and process it with Obj-Sharpie (the header file is not that long, once you strip the comments away)