-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathUniversalDetector.podspec
26 lines (22 loc) · 1.13 KB
/
UniversalDetector.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
Pod::Spec.new do |s|
s.name = 'UniversalDetector'
s.version = '1.4.0'
s.license = { :type => 'Mozilla Public License', :file => 'LICENSE' }
s.summary = 'Wrapper of uchardet for Objective-C.'
s.description = 'UniversalDetector takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text.'
s.homepage = 'https://github.com/siuying/UniversalDetector'
s.author = { 'Francis Chong' => '[email protected]' }
s.source = { :git => 'https://github.com/siuying/UniversalDetector.git',
:tag => s.version.to_s,
:submodules => true }
s.source_files = 'UniversalDetector/*.{h,m}', 'external/uchardet/src/*.{h,cpp}'
s.public_header_files = 'UniversalDetector/*.h', 'external/uchardet/src/uchardet.h'
s.preserve_paths = 'external/uchardet/src/*.{tab}'
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.8'
s.xcconfig = {
'WARNING_CFLAGS' => '-Wno-shorten-64-to-32 -Wno-logical-op-parentheses'
}
s.library = 'stdc++'
s.requires_arc = true
end