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.22k stars 949 forks source link

Unable to run Template Framework Project #240

Closed ykdojo closed 8 years ago

ykdojo commented 8 years ago

I'm having a trouble running Template Framework Project.

I cloned this repo, installed CocoaPods and followed the instruction to add Podfile to my directory.

image

I then ran

pod install which seemed to have worked.

However, I get the following error when I try to run the app in Xcode:

ld: framework not found TesseractOCR clang: error: linker command failed with exit code 1 (use -v to see invocation)

image

How can I fix this?

Thanks so much in advance!!

alemcuevas commented 8 years ago

You need to add the TesseractOCR.framework manually, as you can see those files are in red. So, erase the files in red and add the TesseractOCR.framework manually.

I upload the framework you need to add in this comment for you.

TesseractOCR.framework.zip

ws233 commented 8 years ago

@yosukesugishita, why do you add Template Framework Project to your own project? It's not a framework! It's a template, which shows the way to use the TesseractOCR-iOS framework. Pls, use cocoapods correctly to integrate the pod into your project. Also you don't need to clone the repo, if you use cocoapods.

quchangle commented 8 years ago

I'm troubled by a error, when I use CoreImage Framework and Tesseract. I use CIDetector to recognize QR code,It returns nil for it need arm64,but my tesseract don't support arm64.how can i solve the problem. Thanks so much in advance!!

ws233 commented 8 years ago

@quchangle, which TesseractOCR-iOS version do you use? It supports the arm64 architecture in current version.

quchangle commented 8 years ago

@ws233 do you have current version of TesseractOCR-iOS which supports the arm64? could you help me? I really need this framework for my program.In our country ,the development of technology is not very mature and there are not so many resources.I can't find the resources of TesseractOCR -iOS.I really need your help. thank u very very very very very very very very very very very very very very much! Thanks so much in advance !!

ws233 commented 8 years ago

@quchangle, just clone this repo.

quchangle commented 8 years ago

oh~ i find! so great you are. I love you!!!hahhhhhh