Permalink
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (34 sloc) 1.57 KB
Pod::Spec.new do |spec|
spec.name = 'DTCoreText'
spec.version = '1.6.20'
spec.platforms = {:ios => '4.3', :tvos => '9.0' }
spec.license = 'BSD'
spec.source = { :git => 'https://github.com/Cocoanetics/DTCoreText.git', :tag => spec.version.to_s }
spec.source_files = 'Core/Source/*.{h,m,c}'
spec.ios.source_files = 'Core/Source/iOS/*.{h,m,c}'
spec.dependency 'DTFoundation/Core', '~>1.7.5'
spec.dependency 'DTFoundation/UIKit', '~>1.7.5'
spec.dependency 'DTFoundation/DTHTMLParser', '~>1.7.5'
spec.dependency 'DTFoundation/DTAnimatedGIF', '~>1.7.5'
spec.frameworks = 'MediaPlayer', 'QuartzCore', 'CoreText', 'CoreGraphics', 'ImageIO'
spec.requires_arc = true
spec.homepage = 'https://github.com/Cocoanetics/DTCoreText'
spec.summary = 'Methods to allow using HTML code with CoreText.'
spec.author = { 'Oliver Drobnik' => 'oliver@cocoanetics.com' }
spec.documentation_url = 'http://docs.cocoanetics.com/DTCoreText'
spec.social_media_url = 'https://twitter.com/cocoanetics'
spec.prefix_header_contents = '#import <CoreText/CoreText.h>'
spec.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited)' }
spec.prepare_command = <<-CMD
cd ./Core/Source
/usr/bin/xxd -i default.css default.css.c
CMD
spec.default_subspec = 'Core'
spec.subspec 'Core' do |ap|
ap.source_files = 'Core/Source/*.{h,m,c}'
end
spec.subspec 'Extension' do |ap|
ap.source_files = 'Core/Source/*.{h,m,c}'
ap.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) DT_APP_EXTENSIONS=1' }
end
end