Skip to content

Commit 97df40a

Browse files
authored
[Analytics] Remove deprecated subspecs/targets (#15061)
1 parent 22573fb commit 97df40a

File tree

19 files changed

+1
-296
lines changed

19 files changed

+1
-296
lines changed

.github/workflows/analytics.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ jobs:
4343
run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurement.podspec --platforms=${{ matrix.target }} --sources=https://github.com/firebase/SpecsDev.git,https://github.com/firebase/SpecsStaging.git,https://cdn.cocoapods.org/
4444
- name: FirebaseAnalytics
4545
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseAnalytics.podspec --platforms=${{ matrix.target }} --sources=https://github.com/firebase/SpecsDev.git,https://github.com/firebase/SpecsStaging.git,https://cdn.cocoapods.org/
46-
# The following steps are only run on `ios` due to product availability.
47-
- name: GoogleAppMeasurementOnDeviceConversion
48-
run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurementOnDeviceConversion.podspec --platforms=ios --sources=https://github.com/firebase/SpecsDev.git,https://github.com/firebase/SpecsStaging.git,https://cdn.cocoapods.org/
49-
- name: FirebaseAnalyticsOnDeviceConversion
50-
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAnalyticsOnDeviceConversion.podspec --platforms=ios
5146

5247
# TODO: Consider pushing GoogleAppMeasurement.podspec to SpecsDev to enable similar test
5348
# for FirebaseAnalytics.podspec

Dangerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,10 @@ has_license_changes = didModify(["LICENSE"])
105105

106106
## Product directories
107107
@has_analytics_changes = hasChangesIn([
108-
"FirebaseAnalyticsOnDeviceConversionWrapper",
109-
"FirebaseAnalyticsWithoutAdIdSupportWrapper",
110108
"FirebaseAnalyticsWrapper"
111109
]) || didModify([
112110
"FirebaseAnalytics.podspec",
113-
"FirebaseAnalyticsOnDeviceConversion.podspec",
114-
"GoogleAppMeasurement.podspec",
115-
"GoogleAppMeasurementOnDeviceConversion.podspec"
111+
"GoogleAppMeasurement.podspec"
116112
])
117113
@has_abtesting_changes = hasChangesIn("FirebaseABTesting")
118114
@has_abtesting_api_changes = hasChangesIn("FirebaseABTesting/Sources/Public/")

Firebase.podspec

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,6 @@ Simplify your app development, grow your user base, and monetize more effectivel
6868
ss.dependency 'Firebase/Core'
6969
end
7070

71-
s.subspec 'AnalyticsWithAdIdSupport' do |ss|
72-
ss.ios.deployment_target = '15.0'
73-
ss.osx.deployment_target = '10.15'
74-
ss.tvos.deployment_target = '15.0'
75-
ss.dependency 'Firebase/Core'
76-
end
77-
78-
s.subspec 'AnalyticsWithoutAdIdSupport' do |ss|
79-
ss.ios.deployment_target = '15.0'
80-
ss.osx.deployment_target = '10.15'
81-
ss.tvos.deployment_target = '15.0'
82-
ss.dependency 'FirebaseAnalytics/WithoutAdIdSupport', '~> 12.0.0'
83-
ss.dependency 'Firebase/CoreOnly'
84-
end
85-
8671
s.subspec 'ABTesting' do |ss|
8772
ss.dependency 'Firebase/CoreOnly'
8873
ss.dependency 'FirebaseABTesting', '~> 12.0.0'

FirebaseAnalytics.podspec

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,4 @@ Pod::Spec.new do |s|
5151
ss.vendored_frameworks = 'Frameworks/FirebaseAnalytics.xcframework'
5252
end
5353

54-
# Deprecated. Use IdentitySupport subspec instead.
55-
s.subspec 'AdIdSupport' do |ss|
56-
ss.dependency 'GoogleAppMeasurement/AdIdSupport', '12.0.0'
57-
ss.vendored_frameworks = 'Frameworks/FirebaseAnalytics.xcframework'
58-
end
59-
60-
# Deprecated. Use Core subspec instead.
61-
s.subspec 'WithoutAdIdSupport' do |ss|
62-
ss.dependency 'GoogleAppMeasurement/WithoutAdIdSupport', '12.0.0'
63-
ss.vendored_frameworks = 'Frameworks/FirebaseAnalytics.xcframework'
64-
end
65-
6654
end

FirebaseAnalyticsOnDeviceConversion.podspec

Lines changed: 0 additions & 28 deletions
This file was deleted.

FirebaseAnalyticsOnDeviceConversionWrapper/dummy.m

Lines changed: 0 additions & 20 deletions
This file was deleted.

FirebaseAnalyticsOnDeviceConversionWrapper/include/dummy.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

FirebaseAnalyticsWithoutAdIdSupportWrapper/dummy.m

Lines changed: 0 additions & 19 deletions
This file was deleted.

FirebaseAnalyticsWithoutAdIdSupportWrapper/include/dummy.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

GoogleAppMeasurement.podspec

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,4 @@ Pod::Spec.new do |s|
5050
ss.dependency 'GoogleAppMeasurement/Core', '12.0.0'
5151
ss.vendored_frameworks = 'Frameworks/GoogleAppMeasurementIdentitySupport.xcframework'
5252
end
53-
54-
# Deprecated. Use IdentitySupport subspec instead.
55-
s.subspec 'AdIdSupport' do |ss|
56-
ss.dependency 'GoogleAppMeasurement/IdentitySupport', '12.0.0'
57-
end
58-
59-
# Deprecated. Use Core subspec instead.
60-
s.subspec 'WithoutAdIdSupport' do |ss|
61-
ss.dependency 'GoogleAppMeasurement/Core', '12.0.0'
62-
end
6353
end

0 commit comments

Comments
 (0)