-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSwiftAPM.podspec
More file actions
81 lines (63 loc) · 2.21 KB
/
SwiftAPM.podspec
File metadata and controls
81 lines (63 loc) · 2.21 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# Be sure to run `pod lib lint SwiftAPM.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 = 'SwiftAPM'
s.version = '0.2.0'
s.summary = 'iOS-APM'
s.description = <<-DESC
iOS APM 轮子 Swift 实现
DESC
s.homepage = 'https://github.com/Boy-Rong/SwiftAPM'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { '公子荣' => 'rongheng.rh@gmail.com' }
s.source = { :git => 'https://github.com/Boy-Rong/SwiftAPM.git', :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.swift_versions = ['5.1', '5.2', '5.3']
s.module_name = 'SwiftAPM'
s.default_subspec = 'General', 'Crash', 'ANR', 'Storage', 'Browser'
s.subspec "General" do |ss|
ss.source_files = 'SwiftAPM/Source/General/*.{swift,h}'
ss.header_dir = 'General'
ss.framework = 'Foundation'
end
s.subspec "Crash" do |ss|
ss.source_files = 'SwiftAPM/Source/Crash/**/*.{swift,h,c}'
ss.header_dir = 'Crash'
ss.dependency 'SwiftAPM/General'
ss.dependency 'SwiftAPM/Storage'
ss.dependency 'ThreadBacktrace'
ss.framework = 'Foundation'
end
s.subspec "ANR" do |ss|
ss.source_files = 'SwiftAPM/Source/ANR/**/*.{swift,h,c}'
ss.dependency 'SwiftAPM/General'
ss.dependency 'SwiftAPM/Storage'
ss.dependency 'ThreadBacktrace'
ss.framework = 'Foundation'
end
s.subspec "Storage" do |ss|
ss.source_files = 'SwiftAPM/Source/Storage/**/*.{swift,h,c}'
ss.header_dir = 'Storage'
ss.dependency 'SwiftAPM/General'
ss.dependency 'MMKV'
ss.framework = 'Foundation'
end
s.subspec "Browser" do |ss|
ss.source_files = 'SwiftAPM/Source/Browser/**/*.{swift,h,c}'
ss.header_dir = 'Browser'
ss.framework = 'UIKit'
end
s.pod_target_xcconfig = {
"DEFINES_MODULE" => "YES"
}
# ss.dependency 'SwiftAPM/Global'
# s.framework = 'Foundation', 'UIKit'
# s.resource_bundles = {
# 'SwiftAPM' => ['SwiftAPM/Assets/*.png']
# }
end