Hey all, I'm developing a Xamarin.iOS 6.1 app that will require integration with the LineaPro 4 scanner/swiper peripheral, and I'm pretty much on the first step of getting their SDK to interact with my project. I've read this blog post about it, but it seems quite outdated and unfortunately I couldn't get very far at all with these instructions.
I'm currently looking at doing my own bindings with their library (which is a compiled .a/.h pair), and while reading the page on the subject I found Objective Sharpie. Unfortunately, when attempting to make the automatic binding with their SDK, I get this lovely chunk of error text:
/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:356:14: error: unknown type name 'uint8_t'/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:439:8: error: unknown type name 'NSString'/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:443:8: error: unknown type name 'NSString'/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:447:8: error: unknown type name 'NSString'/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:451:8: error: unknown type name 'NSString'/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:456:27: error: cannot find interface declaration for 'NSObject', superclass of 'DTRFCardInfo'/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:464:20: error: unknown type name 'NSString'/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:468:20: error: unknown type name 'NSData'/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:544:21: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:551:21: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:551:49: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:559:26: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:559:52: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:559:78: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:566:29: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:608:56: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:651:75: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:696:75: error: expected a type/Users/admin/Downloads/DTDevices-iOS_2013-02-28_v1.77_XCode46/Library/LineaSDK.h:696:103: error: expected a typefatal error: too many errors emitted, stopping now [-ferror-limit=]
At this point I think I'm looking at doing bindings on my own, but I did want to post here and ask if anybody has any tips for me in my journey down the rabbit hole. I'm new to iOS and Xamarin development, so I can't say I have much experience at all with this. I know getting this library to work in my project is going to be pretty nasty, but it has to be done.