11Pod ::Spec . new do |s |
22 s . name = "SensorsAnalyticsSDK"
3- s . version = "4.5.6 "
3+ s . version = "4.5.7 "
44 s . summary = "The official iOS SDK of Sensors Analytics."
55 s . homepage = "http://www.sensorsdata.cn"
66 s . source = { :git => 'https://github.com/sensorsdata/sa-sdk-ios.git' , :tag => "v#{ s . version } " }
77 s . license = { :type => "Apache License, Version 2.0" }
88 s . author = { "Yuhan ZOU" => "[email protected] " } 9- s . ios . deployment_target = '8 .0'
9+ s . ios . deployment_target = '9 .0'
1010 s . osx . deployment_target = '10.10'
1111 s . default_subspec = 'Core'
1212 s . frameworks = 'Foundation' , 'SystemConfiguration'
@@ -47,7 +47,7 @@ Pod::Spec.new do |s|
4747
4848 # 全埋点
4949 s . subspec 'AutoTrack' do |g |
50- g . ios . deployment_target = '8 .0'
50+ g . ios . deployment_target = '9 .0'
5151 g . dependency 'SensorsAnalyticsSDK/Common'
5252 g . source_files = "SensorsAnalyticsSDK/AutoTrack/**/*.{h,m}"
5353 g . public_header_files = 'SensorsAnalyticsSDK/AutoTrack/SensorsAnalyticsSDK+SAAutoTrack.h' , 'SensorsAnalyticsSDK/AutoTrack/SAConfigOptions+AutoTrack.h'
@@ -56,15 +56,15 @@ Pod::Spec.new do |s|
5656
5757# 可视化相关功能,包含可视化全埋点和点击图
5858 s . subspec 'Visualized' do |f |
59- f . ios . deployment_target = '8 .0'
59+ f . ios . deployment_target = '9 .0'
6060 f . dependency 'SensorsAnalyticsSDK/AutoTrack'
6161 f . source_files = "SensorsAnalyticsSDK/Visualized/**/*.{h,m}"
6262 f . public_header_files = 'SensorsAnalyticsSDK/Visualized/SensorsAnalyticsSDK+Visualized.h' , 'SensorsAnalyticsSDK/Visualized/SAConfigOptions+Visualized.h'
6363 end
6464
6565 # 开启 GPS 定位采集
6666 s . subspec 'Location' do |f |
67- f . ios . deployment_target = '8 .0'
67+ f . ios . deployment_target = '9 .0'
6868 f . frameworks = 'CoreLocation'
6969 f . dependency 'SensorsAnalyticsSDK/Core'
7070 f . source_files = "SensorsAnalyticsSDK/Location/**/*.{h,m}"
@@ -73,7 +73,7 @@ Pod::Spec.new do |s|
7373
7474 # 开启设备方向采集
7575 s . subspec 'DeviceOrientation' do |f |
76- f . ios . deployment_target = '8 .0'
76+ f . ios . deployment_target = '9 .0'
7777 f . dependency 'SensorsAnalyticsSDK/Core'
7878 f . source_files = 'SensorsAnalyticsSDK/DeviceOrientation/**/*.{h,m}'
7979 f . public_header_files = 'SensorsAnalyticsSDK/DeviceOrientation/SensorsAnalyticsSDK+DeviceOrientation.h'
@@ -82,31 +82,31 @@ Pod::Spec.new do |s|
8282
8383 # 推送点击
8484 s . subspec 'AppPush' do |f |
85- f . ios . deployment_target = '8 .0'
85+ f . ios . deployment_target = '9 .0'
8686 f . dependency 'SensorsAnalyticsSDK/Core'
8787 f . source_files = "SensorsAnalyticsSDK/AppPush/**/*.{h,m}"
8888 f . public_header_files = 'SensorsAnalyticsSDK/AppPush/SAConfigOptions+AppPush.h'
8989 end
9090
9191 # 使用崩溃事件采集
9292 s . subspec 'Exception' do |e |
93- e . ios . deployment_target = '8 .0'
93+ e . ios . deployment_target = '9 .0'
9494 e . dependency 'SensorsAnalyticsSDK/Common'
9595 e . source_files = "SensorsAnalyticsSDK/Exception/**/*.{h,m}"
9696 e . public_header_files = 'SensorsAnalyticsSDK/Exception/SAConfigOptions+Exception.h'
9797 end
9898
9999 # 基于 UA,使用 UIWebView 或者 WKWebView 进行打通
100100 s . subspec 'WebView' do |w |
101- w . ios . deployment_target = '8 .0'
101+ w . ios . deployment_target = '9 .0'
102102 w . dependency 'SensorsAnalyticsSDK/Core'
103103 w . source_files = "SensorsAnalyticsSDK/WebView/**/*.{h,m}"
104104 w . public_header_files = 'SensorsAnalyticsSDK/WebView/SensorsAnalyticsSDK+WebView.h'
105105 end
106106
107107 # 基于 UA,使用 WKWebView 进行打通
108108 s . subspec 'WKWebView' do |w |
109- w . ios . deployment_target = '8 .0'
109+ w . ios . deployment_target = '9 .0'
110110 w . dependency 'SensorsAnalyticsSDK/Core'
111111 w . source_files = "SensorsAnalyticsSDK/WKWebView/**/*.{h,m}"
112112 w . public_header_files = 'SensorsAnalyticsSDK/WKWebView/SensorsAnalyticsSDK+WKWebView.h'
@@ -119,14 +119,14 @@ Pod::Spec.new do |s|
119119 end
120120
121121 s . subspec 'DeprecatedCellClick' do |d |
122- d . ios . deployment_target = '8 .0'
122+ d . ios . deployment_target = '9 .0'
123123 d . dependency 'SensorsAnalyticsSDK/Core'
124124 d . source_files = 'CellClick_HookDelegate_Deprecated/*.{h,m}'
125125 d . project_header_files = 'CellClick_HookDelegate_Deprecated/*.h'
126126 end
127127
128128 s . subspec 'Exposure' do |h |
129- h . ios . deployment_target = '8 .0'
129+ h . ios . deployment_target = '9 .0'
130130 h . dependency 'SensorsAnalyticsSDK/Common'
131131 h . source_files = 'SensorsAnalyticsSDK/Exposure/**/*.{h,m}'
132132 h . public_header_files = 'SensorsAnalyticsSDK/Exposure/SAConfigOptions+Exposure.h' , 'SensorsAnalyticsSDK/Exposure/SAExposureConfig.h' , 'SensorsAnalyticsSDK/Exposure/SAExposureData.h' , 'SensorsAnalyticsSDK/Exposure/SensorsAnalyticsSDK+Exposure.h' , 'SensorsAnalyticsSDK/Exposure/UIView+ExposureIdentifier.h'
0 commit comments