forked from SwiftyTesseract/SwiftyTesseract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSwiftyTesseract.podspec
44 lines (28 loc) · 2.03 KB
/
SwiftyTesseract.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Pod::Spec.new do |s|
s.name = "SwiftyTesseract"
s.version = "2.0.0"
s.summary = "A Swift wrapper around Tesseract for use in iOS applications."
s.description = <<-DESC
SwiftyTesseract is a library used to perform optical character recognition
in your iOS projects. SwiftyTesseract only implements the functionality of
Tesseract and provides no additional image processing. If you would like an
out-of-the-box solution that performs live OCR, please check out
SwiftyTesseractRTE.
DESC
s.homepage = "https://github.com/SwiftyTesseract/SwiftyTesseract"
s.license = { :type => "MIT", :file => "LICENSE.md" }
s.author = { "Steven Sherry" => "steven.sherry@affinityforapps.com" }
s.social_media_url = "http://twitter.com/steven_0351"
s.platform = :ios, "12.0"
s.source = { :git => "https://github.com/SwiftyTesseract/SwiftyTesseract.git", :tag => "#{s.version}" }
s.source_files = "SwiftyTesseract/SwiftyTesseract/*.swift","SwiftyTesseract/SwiftyTesseract/**/*.{h,swift}"
s.private_header_files = "SwiftyTesseract/SwiftyTesseract/dependencies/include/**/*.h"
s.requires_arc = true
s.frameworks = "UIKit"
s.ios.deployment_target = "9.0"
s.ios.vendored_library = "SwiftyTesseract/SwiftyTesseract/dependencies/lib/*.a"
s.pod_target_xcconfig = { "SWIFT_INCLUDE_PATHS" => "$(SRCROOT)/SwiftyTesseract/SwiftyTesseract/SwiftyTesseract/dependencies/include/tesseract/**",
"OTHER_LDFLAGS" => "-lstdc++ -lz",
"CLANG_CXX_LIBRARY" => "compiler-default" }
s.preserve_paths = "SwiftyTesseract/SwiftyTesseract/dependencies/include/tesseract/module.modulemap"
end