Skip to content

Commit

Permalink
chore: 依赖项版本限制需同时兼容 SDK 3.x 和 SDK 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
YoloMao committed Oct 31, 2023
1 parent 1a655ec commit f8d0bc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions GrowingToolsKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,21 @@ TODO: Add long description of the pod here.
s.subspec 'APMCore' do |apm|
apm.source_files = 'Sources/APMCore/**/*{.h,.m,.c,.cpp,.mm}'
apm.dependency 'GrowingToolsKit/Core'
apm.dependency 'GrowingAPM/Core', '~> 1.0.0'
apm.dependency 'GrowingAPM/Core'
end

s.subspec 'CrashMonitor' do |monitor|
monitor.source_files = 'Sources/CrashMonitor/**/*{.h,.m,.c,.cpp,.mm}'
monitor.public_header_files = 'Sources/CrashMonitor/Public/*.h'
monitor.dependency 'GrowingToolsKit/APMCore'
monitor.dependency 'GrowingAPM/CrashMonitor', '~> 1.0.0'
monitor.dependency 'GrowingAPM/CrashMonitor'
end

s.subspec 'LaunchTime' do |monitor|
monitor.source_files = 'Sources/LaunchTime/**/*{.h,.m,.c,.cpp,.mm}'
monitor.public_header_files = 'Sources/LaunchTime/Public/*.h'
monitor.dependency 'GrowingToolsKit/APMCore'
monitor.dependency 'GrowingAPM/UIMonitor', '~> 1.0.0'
monitor.dependency 'GrowingAPM/UIMonitor'
end

s.subspec 'Settings' do |settings|
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/growingio/growingio-sdk-ios-performance-ext.git",
"1.0.0" ..< "2.0.0"
"0.0.14" ..< "2.0.0"
),
],
targets: [
Expand Down

0 comments on commit f8d0bc5

Please sign in to comment.