-
Notifications
You must be signed in to change notification settings - Fork 1
/
SensorsAnalyticsSDK.podspec
executable file
·105 lines (86 loc) · 4.76 KB
/
SensorsAnalyticsSDK.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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Pod::Spec.new do |s|
s.name = "SensorsAnalyticsSDK"
s.version = "1.11.2"
s.summary = "The offical iOS SDK of Sensors Analytics."
s.homepage = "http://www.sensorsdata.cn"
s.source = { :git => 'https://github.com/sensorsdata/sa-sdk-ios.git', :tag => "v#{s.version}" }
s.license = { :type => "Apache License, Version 2.0" }
s.author = { "Yuhan ZOU" => "zouyuhan@sensorsdata.cn" }
s.platform = :ios, "7.0"
s.default_subspec = 'core'
s.frameworks = 'UIKit', 'Foundation', 'SystemConfiguration', 'CoreTelephony', 'CoreGraphics', 'QuartzCore', 'CoreLocation', 'CoreMotion'
s.libraries = 'icucore', 'sqlite3', 'z'
s.subspec 'core' do |c|
c.source_files = "SensorsAnalyticsSDK/VisualizedAutoTrack/*.{h,m}", "SensorsAnalyticsSDK/*.{h,m}","SensorsAnalyticsSDK/HeatMap/*.{h,m}"
c.public_header_files = "SensorsAnalyticsSDK/SensorsAnalyticsSDK.h","SensorsAnalyticsSDK/SAAppExtensionDataManager.h","SensorsAnalyticsSDK/SASecurityPolicy.h","SensorsAnalyticsSDK/SAConfigOptions.h","SensorsAnalyticsSDK/SAConstants.h"
c.resource = 'SensorsAnalyticsSDK/SensorsAnalyticsSDK.bundle'
end
s.subspec 'LOG' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_ENABLE_LOG=1'}
end
s.subspec 'DISABLE_TRACK_GPS' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_TRACK_GPS=1'}
end
s.subspec 'DISABLE_TRACK_DEVICE_ORIENTATION' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_TRACK_DEVICE_ORIENTATION=1'}
end
s.subspec 'DISABLE_DEBUG_WARNING' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_DEBUG_WARNING=1'}
end
s.subspec 'DISABLE_AUTOTRACK_UICOLLECTIONVIEW' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_AUTOTRACK_UICOLLECTIONVIEW=1'}
end
s.subspec 'DISABLE_AUTOTRACK_UITABLEVIEW' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_AUTOTRACK_UITABLEVIEW=1'}
end
s.subspec 'DISABLE_AUTOTRACK_UIIMAGE_IMAGENAME' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_AUTOTRACK_UIIMAGE_IMAGENAME=1'}
end
s.subspec 'DISABLE_AUTOTRACK_GESTURE' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_AUTOTRACK_GESTURE=1'}
end
s.subspec 'ENABLE_REACT_NATIVE_APPCLICK' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_REACT_NATIVE=1'}
end
s.subspec 'ENABLE_NO_PUBLIC_APIS' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_ENABLE_NO_PUBLICK_APIS=1'}
end
s.subspec 'DISABLE_AUTOTRACK_UITABBAR' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_AUTOTRACK_UITABBAR=1'}
end
s.subspec 'CRASH_SLIDEADDRESS' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_CRASH_SLIDEADDRESS=1'}
end
s.subspec 'DISABLE_AUTOTRACK_DEVICEID' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_AUTOTRACK_DEVICEID=1'}
end
s.subspec 'ENABLE_AUTOTRACK_DIDSELECTROW' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_ENABLE_AUTOTRACK_DIDSELECTROW=1'}
end
s.subspec 'DISABLE_INSTALLATION_MARK_IN_KEYCHAIN' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_INSTALLATION_MARK_IN_KEYCHAIN=1'}
end
s.subspec 'DISABLE_KEYCHAIN' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_DISABLE_KEYCHAIN=1'}
end
s.subspec 'ENABLE_CHILD_VIEWSCREEN' do |f|
f.dependency 'SensorsAnalyticsSDK/core'
f.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SENSORS_ANALYTICS_ENABLE_AUTOTRACK_CHILD_VIEWSCREEN=1'}
end
end