julio cesar created CB-1363: ------------------------------- Summary: External library incompatibility with iOS component Key: CB-1363 URL: https://issues.apache.org/jira/browse/CB-1363 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.0.0 Environment: mac osx lion and xcode 4.3.3 and 4.4 Reporter: julio cesar Assignee: Shazron Abdullah
Since the update to phonegap 2.0, the OCRPlugin stops working with phonegap. (OCRPlugin https://github.com/phonegap/phonegap-plugins/tree/master/iOS/OCRPlugin) But the problem is not the plugin at all, it's the OCR library it uses, as soon as I drag the dependencies folder to my project (with "Create groups for any added folders" checkbox marked) the project stops compiling. The error is: ld: duplicate symbol _main in /Users/HACKINTOSH/Desktop/pg/pg/Classes/dependencies/lib/libtesseract_all.a(svpaint.o) and /Users/HACKINTOSH/Library/Developer/Xcode/DerivedData/pg-cuphgzkabixjepavhnlumwnoufkn/Build/Intermediates/pg.build/Debug-iphoneos/pg.build/Objects-normal/armv7/main.o for architecture armv7 NOTE: The plugin only works on a real device, the library isn't compiled for simulators. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira