-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAXAttributedString.podspec
39 lines (32 loc) · 1.37 KB
/
AXAttributedString.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
35
36
37
38
39
#
# Be sure to run `pod lib lint AXAttributedString.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "AXAttributedString"
s.version = "0.2.5"
s.summary = "An easier attribute text creator, use chain-syntax."
s.homepage = "https://github.com/arnoldxiao/AXAttributedString"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "arnoldxiao" => "[email protected]" }
s.social_media_url = "https://weibo.com/arnoldxiao"
s.platform = :ios
s.requires_arc = true
s.ios.deployment_target = "8.0"
s.source = { :git => "https://github.com/arnoldxiao/AXAttributedString.git", :tag => "#{s.version}" }
s.subspec 'Core' do |c|
c.public_header_files = "AXAttributedString/Core/*.h"
c.source_files = "AXAttributedString/Core/*.{h,m}"
c.frameworks = "Foundation", "CoreGraphics"
end
s.subspec 'UIKit' do |u|
u.public_header_files = "AXAttributedString/UI/*.h"
u.source_files = "AXAttributedString/UI/*.{h,m}"
u.frameworks = "UIKit"
u.dependency "AXAttributedString/Core"
end
# s.frameworks = "Foundation", "CoreGraphics", "UIKit"
end