phonegap/phonegap-plugins — Issue #283: Compiling fails for PGBarcodeScanner.mm
Author: lelio98
Created: 2011-12-14 23:40:24+00:00
State: open

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
objc-class-ref in PGBarcodeScanner.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

If I remove the PGBarcodeScanner.mm file, compilation works, but obviously I cannot scan.

XCode4.2.1 without ARC (as far as I can tell)
Zxing installed per http://yannickloriot.com/2011/04/how-to-install-zxing-in-xcode-4/
Plugin installed per Git instructions and http://dailypineapple.tumblr.com/post/7371097234/using-zxing-with-phonegap