Skip to content

Commit 0160ab7

Browse files
author
Kirill Makankov
committed
1. iphonesimulator8.1 instead of unsupported iphonesimulator8.0
2. header_dir instead of the module_name 3. isCancelled instead of cancelled, which is not supported on iOS 7.
1 parent 2fce954 commit 0160ab7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: objective-c
22
xcode_workspace: Tesseract-OCR-iOS.xcworkspace
33
xcode_sdk:
44
- iphonesimulator7.0
5-
- iphonesimulator8.0
5+
- iphonesimulator8.1
66
xcode_scheme:
77
- TestsProject
88
- Template Framework Project

TesseractOCR/G8RecognitionOperation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ - (void)progressImageRecognitionForTesseract:(G8Tesseract *)tesseract
6868

6969
- (BOOL)shouldCancelImageRecognitionForTesseract:(G8Tesseract *)tesseract
7070
{
71-
BOOL canceled = self.cancelled;
71+
BOOL canceled = self.isCancelled;
7272
if (canceled == NO && [self.delegate respondsToSelector:@selector(shouldCancelImageRecognitionForTesseract:)]) {
7373
canceled = [self.delegate shouldCancelImageRecognitionForTesseract:tesseract];
7474
}

TesseractOCRiOS.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Pod::Spec.new do |s|
2-
s.module_name = 'TesseractOCR'
2+
s.header_dir = 'TesseractOCR'
33
s.name = 'TesseractOCRiOS'
44
s.version = '3.4.0'
55

0 commit comments

Comments
 (0)