I've a project built with cordova, we don't use cocoa, and we're building to iOS SDK 10.
When we try to build the project, it gives us an error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_CIContext", referenced from:
objc-class-ref in CDVBarcodeScanner.o
"_OBJC_CLASS_$_CIFilter", referenced from:
objc-class-ref in CDVBarcodeScanner.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Apple Mach-O Linker (ld) Error Group
In the `CDVBarcodeScanner.mm` the CIContext it's called like this:
CIContext *context = [CIContext contextWithOptions:nil];
And
CIFilter *filter = [CIFilter filterWithName:@"CIQRCodeGenerator"];