Tesseract-OCR-iOS
Tesseract-OCR-iOS copied to clipboard
Error setting up project (iOS)
Hey guys,
I am desperately trying to setup a simple project using TesseractOCR, but facing a lot of troubles.
Creating a new project "PlateTest", i set up a Single View Application and a Podfile with following code:
target 'PlateTest' do
target 'PlateTestTests' do
inherit! :search_paths
pod 'TesseractOCRiOS', '4.0.0'
end
end
In my ViewController, I added the most simple code possible:
#import "ViewController.h"
#import <TesseractOCR/TesseractOCR.h>
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
G8Tesseract* tesseract = [[G8Tesseract alloc] initWithLanguage: @"eng"];
}
I executed 'pod install' and tried to run the project, but received following error for _OBJC_CLASS_$_G8Tesseract
:
(When selecting the simulator instead of an iPhone i get the same error targeting i386 instead of arm64)
I also tried to use the development version of the pod and running the example project Template Framework Project, but still got the same error. I guess this might be the same error described in issue #301.
I am using Xcode 8.2.1, OSX 10.11.6 (El Capitan) and my Cocoapods are upgradet to v1.2.0.
Do you have any idea how to resolve this issue? Any help would be appreciated.