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

Xcode 7.2 linker error

Open yoostas opened this issue 8 years ago • 3 comments

Hello I tried to import Tesseract-OCR-iOS via cocoa pods and i have linker error screen shot 2016-02-26 at 5 02 21 pm screen shot 2016-02-26 at 5 02 08 pm screen shot 2016-02-26 at 5 01 56 pm screen shot 2016-02-26 at 5 01 28 pm screen shot 2016-02-26 at 5 00 55 pm

I've tried to delete and install pods for many times, but always got this error. How can it be solved? Help please)

yoostas avatar Feb 26 '16 12:02 yoostas

Have you added libTesseractOCRiOS.a library as a dependency of you main target you are trying to build? It seems it is not built. Also try to remove TesseractOCR.framework from the linking stage. Let me know if these help you.

ws233 avatar Jun 05 '16 07:06 ws233

I've already re-create the project. Made it clean. And all working fine. Thank you for your reply)

yoostas avatar Jun 06 '16 05:06 yoostas

I faced the same problem. Solved: Find "Framework Search Paths" and add/change this value:

$(inherited) recursive

MBanos avatar Mar 27 '17 17:03 MBanos