Skip to content

Instantly share code, notes, and snippets.

@siuying
Last active August 29, 2015 14:14
Show Gist options
  • Select an option

  • Save siuying/122dc542db1ac901074d to your computer and use it in GitHub Desktop.

Select an option

Save siuying/122dc542db1ac901074d to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = 'UniversalDetector'
s.version = '1.3.2'
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 }
s.source_files = 'UniversalDetector/*.{h,m}', 'external/*.{h,cpp}', 'external/universalchardet/src/base/*.{cpp,tab,h}'
s.public_header_files = 'UniversalDetector/*.h', 'external/uchardet.h'
s.library = 'stdc++'
s.xcconfig = {
'GCC_WARN_INHIBIT_ALL_WARNINGS' => 'YES'
}
s.requires_arc = true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment