Tesseract-OCR-iOS icon indicating copy to clipboard operation
Tesseract-OCR-iOS copied to clipboard

Dependency Analysis Warning

Open nickbonny opened this issue 8 years ago • 4 comments

Hi, this is a great OCR. It currently works, but I've got 2 issues on run time with the new version of swift(swift 4.0 - Xcode 9.0)

warning ocr

nickbonny avatar Oct 26 '17 09:10 nickbonny

Have you got it building on a device? I'm seeing similar errors when running on simulator but getting errors like so when I build for device. screen shot 2017-11-14 at 13 44 25

harryblam avatar Nov 14 '17 04:11 harryblam

Try click on your Pods project, on each target select Build Settings, search Bitcode and set Enable Bitcode to NO.

See also: https://github.com/gali8/Tesseract-OCR-iOS/issues/279

BrianHenryIE avatar Nov 14 '17 05:11 BrianHenryIE

Thanks for the reply, however we want bitcode enabled for our project, therefore all dependencies need bitcode enabled if i'm not mistaken.

harryblam avatar Nov 14 '17 08:11 harryblam

tesseract part not allows bitcode – Gali8

https://github.com/gali8/Tesseract-OCR-iOS/issues/351#issuecomment-342646996

BrianHenryIE avatar Nov 14 '17 14:11 BrianHenryIE