You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "julio cesar (JIRA)" <ji...@apache.org> on 2012/09/10 22:12:07 UTC
[jira] [Closed] (CB-1363) External library incompatibility with iOS
component
[ https://issues.apache.org/jira/browse/CB-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
julio cesar closed CB-1363.
---------------------------
Resolution: Not A Problem
there was a problem with the library, not a phonegap bug
> 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