-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
王洋洋
committed
Apr 12, 2023
1 parent
ec3f650
commit 6a6ea5b
Showing
8 changed files
with
68 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "SensorsAnalyticsSDK" | ||
s.version = "4.5.6" | ||
s.version = "4.5.7" | ||
s.summary = "The official 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" => "[email protected]" } | ||
s.ios.deployment_target = '8.0' | ||
s.ios.deployment_target = '9.0' | ||
s.osx.deployment_target = '10.10' | ||
s.default_subspec = 'Core' | ||
s.frameworks = 'Foundation', 'SystemConfiguration' | ||
|
@@ -47,7 +47,7 @@ Pod::Spec.new do |s| | |
|
||
# 全埋点 | ||
s.subspec 'AutoTrack' do |g| | ||
g.ios.deployment_target = '8.0' | ||
g.ios.deployment_target = '9.0' | ||
g.dependency 'SensorsAnalyticsSDK/Common' | ||
g.source_files = "SensorsAnalyticsSDK/AutoTrack/**/*.{h,m}" | ||
g.public_header_files = 'SensorsAnalyticsSDK/AutoTrack/SensorsAnalyticsSDK+SAAutoTrack.h', 'SensorsAnalyticsSDK/AutoTrack/SAConfigOptions+AutoTrack.h' | ||
|
@@ -56,15 +56,15 @@ Pod::Spec.new do |s| | |
|
||
# 可视化相关功能,包含可视化全埋点和点击图 | ||
s.subspec 'Visualized' do |f| | ||
f.ios.deployment_target = '8.0' | ||
f.ios.deployment_target = '9.0' | ||
f.dependency 'SensorsAnalyticsSDK/AutoTrack' | ||
f.source_files = "SensorsAnalyticsSDK/Visualized/**/*.{h,m}" | ||
f.public_header_files = 'SensorsAnalyticsSDK/Visualized/SensorsAnalyticsSDK+Visualized.h', 'SensorsAnalyticsSDK/Visualized/SAConfigOptions+Visualized.h' | ||
end | ||
|
||
# 开启 GPS 定位采集 | ||
s.subspec 'Location' do |f| | ||
f.ios.deployment_target = '8.0' | ||
f.ios.deployment_target = '9.0' | ||
f.frameworks = 'CoreLocation' | ||
f.dependency 'SensorsAnalyticsSDK/Core' | ||
f.source_files = "SensorsAnalyticsSDK/Location/**/*.{h,m}" | ||
|
@@ -73,7 +73,7 @@ Pod::Spec.new do |s| | |
|
||
# 开启设备方向采集 | ||
s.subspec 'DeviceOrientation' do |f| | ||
f.ios.deployment_target = '8.0' | ||
f.ios.deployment_target = '9.0' | ||
f.dependency 'SensorsAnalyticsSDK/Core' | ||
f.source_files = 'SensorsAnalyticsSDK/DeviceOrientation/**/*.{h,m}' | ||
f.public_header_files = 'SensorsAnalyticsSDK/DeviceOrientation/SensorsAnalyticsSDK+DeviceOrientation.h' | ||
|
@@ -82,31 +82,31 @@ Pod::Spec.new do |s| | |
|
||
# 推送点击 | ||
s.subspec 'AppPush' do |f| | ||
f.ios.deployment_target = '8.0' | ||
f.ios.deployment_target = '9.0' | ||
f.dependency 'SensorsAnalyticsSDK/Core' | ||
f.source_files = "SensorsAnalyticsSDK/AppPush/**/*.{h,m}" | ||
f.public_header_files = 'SensorsAnalyticsSDK/AppPush/SAConfigOptions+AppPush.h' | ||
end | ||
|
||
# 使用崩溃事件采集 | ||
s.subspec 'Exception' do |e| | ||
e.ios.deployment_target = '8.0' | ||
e.ios.deployment_target = '9.0' | ||
e.dependency 'SensorsAnalyticsSDK/Common' | ||
e.source_files = "SensorsAnalyticsSDK/Exception/**/*.{h,m}" | ||
e.public_header_files = 'SensorsAnalyticsSDK/Exception/SAConfigOptions+Exception.h' | ||
end | ||
|
||
# 基于 UA,使用 UIWebView 或者 WKWebView 进行打通 | ||
s.subspec 'WebView' do |w| | ||
w.ios.deployment_target = '8.0' | ||
w.ios.deployment_target = '9.0' | ||
w.dependency 'SensorsAnalyticsSDK/Core' | ||
w.source_files = "SensorsAnalyticsSDK/WebView/**/*.{h,m}" | ||
w.public_header_files = 'SensorsAnalyticsSDK/WebView/SensorsAnalyticsSDK+WebView.h' | ||
end | ||
|
||
# 基于 UA,使用 WKWebView 进行打通 | ||
s.subspec 'WKWebView' do |w| | ||
w.ios.deployment_target = '8.0' | ||
w.ios.deployment_target = '9.0' | ||
w.dependency 'SensorsAnalyticsSDK/Core' | ||
w.source_files = "SensorsAnalyticsSDK/WKWebView/**/*.{h,m}" | ||
w.public_header_files = 'SensorsAnalyticsSDK/WKWebView/SensorsAnalyticsSDK+WKWebView.h' | ||
|
@@ -119,14 +119,14 @@ Pod::Spec.new do |s| | |
end | ||
|
||
s.subspec 'DeprecatedCellClick' do |d| | ||
d.ios.deployment_target = '8.0' | ||
d.ios.deployment_target = '9.0' | ||
d.dependency 'SensorsAnalyticsSDK/Core' | ||
d.source_files = 'CellClick_HookDelegate_Deprecated/*.{h,m}' | ||
d.project_header_files = 'CellClick_HookDelegate_Deprecated/*.h' | ||
end | ||
|
||
s.subspec 'Exposure' do |h| | ||
h.ios.deployment_target = '8.0' | ||
h.ios.deployment_target = '9.0' | ||
h.dependency 'SensorsAnalyticsSDK/Common' | ||
h.source_files = 'SensorsAnalyticsSDK/Exposure/**/*.{h,m}' | ||
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' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters