gali8 / Tesseract-OCR-iOS

Tesseract OCR iOS is a Framework for iOS7+, compiled also for armv7s and arm64.
http://www.nexor.it
MIT License
4.21k stars 948 forks source link

Dependency Analysis Warning #350

Open nickbonny opened 6 years ago

nickbonny commented 6 years ago

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
harryblam commented 6 years ago

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
BrianHenryIE commented 6 years ago

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

harryblam commented 6 years ago

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

BrianHenryIE commented 6 years ago

tesseract part not allows bitcode – Gali8

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