Skip to content

Commit

Permalink
Merge commit '9525dc57a88dac2c3686f906271fb29bed6d58d3'
Browse files Browse the repository at this point in the history
* commit '9525dc57a88dac2c3686f906271fb29bed6d58d3':
  Release 4.5.12
  Release 4.5.11
  Release 4.5.10
  Release 4.5.9
  Release 4.5.8
  Release 4.5.8
  Release 4.5.7
  Release 4.5.6
  • Loading branch information
jjksam committed Jul 7, 2023
2 parents 618d886 + 9525dc5 commit 3aa205e
Show file tree
Hide file tree
Showing 68 changed files with 915 additions and 367 deletions.
12 changes: 6 additions & 6 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -566,7 +566,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
Expand All @@ -583,7 +583,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 75FYWDWHL5;
INFOPLIST_FILE = "$(SRCROOT)/SensorsData/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -603,7 +603,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 75FYWDWHL5;
INFOPLIST_FILE = "$(SRCROOT)/SensorsData/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -622,7 +622,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 75FYWDWHL5;
INFOPLIST_FILE = SensorsDataSwift/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -644,7 +644,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 75FYWDWHL5;
INFOPLIST_FILE = SensorsDataSwift/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ SensorsAnalytics SDK 是国内第一家开源商用版用户行为采集 SDK,

## 基本要求

iOS 8.0 及以上,Xcode 9.0 及以上。
iOS 9.0 及以上,Xcode 9.0 及以上。

## 推荐版本

| 推荐版本 | 版本链接 |
| ------ | ------ |
| v4.5.7 | https://github.com/sensorsdata/sa-sdk-ios/releases/tag/v4.5.7 |
| v4.4.5 | https://github.com/sensorsdata/sa-sdk-ios/releases/tag/v4.4.5 |

## 集成文档

Expand Down
29 changes: 14 additions & 15 deletions SensorsAnalyticsSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Pod::Spec.new do |s|
s.name = "SensorsAnalyticsSDK"
s.version = "4.5.5"
s.version = "4.5.12"
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" => "zouyuhan@sensorsdata.cn" }
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.13'
s.default_subspec = 'Core'
s.frameworks = 'Foundation', 'SystemConfiguration'

Expand All @@ -23,7 +23,6 @@ Pod::Spec.new do |s|
b.source_files = core_dir + "**/*.{h,m}"
b.exclude_files = core_dir + "SAAlertController.h", core_dir + "SAAlertController.m"
b.public_header_files = core_dir + "SensorsAnalyticsSDK.h", core_dir + "SensorsAnalyticsSDK+Public.h", core_dir + "SASecurityPolicy.h", core_dir + "SAConfigOptions.h", core_dir + "SAConstants.h", core_dir + "PropertyPlugin/SAPropertyPlugin.h"
b.resource = 'SensorsAnalyticsSDK/SensorsAnalyticsSDK.bundle'
b.ios.frameworks = 'CoreTelephony'
b.dependency 'SensorsAnalyticsSDK/__Store'
end
Expand All @@ -47,7 +46,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'
Expand All @@ -56,15 +55,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}"
Expand All @@ -73,7 +72,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'
Expand All @@ -82,31 +81,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'
Expand All @@ -119,17 +118,17 @@ 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'
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', 'SensorsAnalyticsSDK/Exposure/SAExposureListener.h'
end

end
Loading

0 comments on commit 3aa205e

Please sign in to comment.