Post not yet marked as solved
Post marked as unsolved with 0 replies, 687 views
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 GroupIn the `CDVBarcodeScanner.mm` the CIContext it's called like this:CIContext *context = [CIContext contextWithOptions:nil];AndCIFilter *filter = [CIFilter filterWithName:@"CIQRCodeGenerator"];