0 Replies
      Latest reply on Sep 2, 2019 1:13 PM by sidneypaiotti
      sidneypaiotti Level 1 Level 1 (0 points)

        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"];