Closed mdenty closed 9 years ago
Thanks for this note, @mdenty. Actually, could you move this to the installation page in the Wiki as a new section about using the library as a non-embedded framework? I think you should be able to edit it as a public user, but let me know if you have any issues with it: https://github.com/gali8/Tesseract-OCR-iOS/wiki/Installation
I write this little text for anyone that may have the same issue.
I used to put TesseractOCR.framework as an embedded framework in my project. Since iOS7 does not support embedded frameworks, I've decided to put TesseractOCR as "normal" framework. My project built and linked without problem, but at runtime I use
- (UIImage *)g8_blackAndWhite;
method ofUIImage (G8Filters)
category and I got something like:I solved the problem by setting
GENERATE_MASTER_OBJECT_FILE = YES
in the Tesseract OCR IOS.xcodeproj build settings.It may be worth setting this flag in the git file, since the framework does not have so many .m files, it should not be a great overhead in size.