forked from Cocoanetics/DTCoreText
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DTCoreText.podspec
34 lines (31 loc) · 1.53 KB
/
DTCoreText.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
Pod::Spec.new do |spec|
spec.name = 'DTCoreText'
spec.version = '1.6.26'
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' => '[email protected]' }
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.resource_bundles = { 'Resources': 'Core/Source/default.css' }
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