-
Notifications
You must be signed in to change notification settings - Fork 23
/
OpenALPRSwift.podspec
22 lines (21 loc) · 1.25 KB
/
OpenALPRSwift.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Pod::Spec.new do |spec|
spec.name = 'OpenALPRSwift'
spec.version = '2.0.0'
spec.summary = 'iOS Framework for the openalpr library ready to use in Swift and Objective-C.'
spec.homepage = 'https://github.com/yasirmturk/openalpr-swift'
spec.license = { type: 'GPL 3.0', file: 'LICENSE' }
spec.authors = { 'Yasir M Türk' => 'i@yasirmturk.com' }
spec.social_media_url = 'https://twitter.com/yasirmturk'
spec.platform = :ios, '9.0'
spec.requires_arc = true
spec.source = { git: 'https://github.com/yasirmturk/openalpr-swift.git', tag: "v#{spec.version}", submodules: true }
spec.source_files = 'openalpr-swift/**/*.{h,mm,swift}'
spec.resources = ['openalpr-swift/openalpr.conf', 'openalpr-swift/runtime_data']
spec.frameworks = 'CoreGraphics', 'UIKit'
spec.weak_framework = 'opencv2'
spec.static_framework = true
spec.vendored_frameworks = 'lib/openalpr.framework'
spec.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-lz -llept -ltesseract_all', 'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/TesseractOCRiOS/TesseractOCR/lib"', 'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/OpenCV" "${PODS_ROOT}/TesseractOCRiOS/Products"', 'CLANG_WARN_DOCUMENTATION_COMMENTS' => 'NO' }
spec.dependency 'OpenCV', '~> 3.1.0.1'
spec.dependency 'TesseractOCRiOS', '~> 5.0.1'
end