-
Notifications
You must be signed in to change notification settings - Fork 78
/
AttributedString.podspec
41 lines (30 loc) · 1.33 KB
/
AttributedString.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
40
41
Pod::Spec.new do |s|
s.name = "AttributedString"
s.version = "3.4.2"
s.summary = "基于Swift字符串插值快速构建你想要的富文本, 支持点击按住等事件获取, 支持多种类型过滤"
s.homepage = "https://github.com/lixiang1994/AttributedString"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "LEE" => "[email protected]" }
s.source = { :git => "https://github.com/lixiang1994/AttributedString.git", :tag => s.version }
s.requires_arc = true
s.swift_versions = ["5.0"]
s.frameworks = "Foundation"
s.ios.frameworks = "UIKit"
s.osx.frameworks = "AppKit"
s.tvos.frameworks = "UIKit"
s.watchos.frameworks = "WatchKit"
s.ios.deployment_target = '9.0'
s.osx.deployment_target = "10.13"
s.tvos.deployment_target = "11.0"
s.watchos.deployment_target = "6.0"
s.source_files = ["Sources/*.swift", "Sources/Extension/*.swift", "Sources/Extension/CoreGraphics/*.swift"]
s.ios.source_files = ["Sources/Extension/UIKit/*.swift", "Sources/Extension/UIKit/UILabel/*.swift"]
s.osx.source_files = ["Sources/Extension/AppKit/*.swift"]
s.tvos.source_files = ["Sources/Extension/UIKit/*.swift"]
s.watchos.source_files = ["Sources/Extension/WatchKit/*.swift"]
s.subspec 'Privacy' do |ss|
ss.resource_bundles = {
"AttributedString" => 'Sources/PrivacyInfo.xcprivacy'
}
end
end