File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'GoogleDataTransport'
3
- s . version = '7.5.0 '
3
+ s . version = '7.5.1 '
4
4
s . summary = 'Google iOS SDK data transport.'
5
5
6
6
s . description = <<-DESC
Original file line number Diff line number Diff line change 1
- # Unreleased
1
+ # v7.5.1
2
+ - Fix deprecation warning for iOS 12.0 and higher projects. (#6682 )
3
+
4
+ # v7.5.0
2
5
- Legacy pre Xcode 10 compatibility checks removed. (#6486 )
3
6
- ` GDTCORDirectorySizeTracker ` crash fixed. (#6540 )
4
7
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ GDTCORNetworkMobileSubtype GDTCORNetworkMobileSubTypeMessage() {
127
127
if (networkCurrentRadioAccessTechnologyDict.count ) {
128
128
networkCurrentRadioAccessTechnology = networkCurrentRadioAccessTechnologyDict.allValues [0 ];
129
129
}
130
- #else // TARGET_OS_MACCATALYST
130
+ #else // TARGET_OS_MACCATALYST
131
131
if (@available (iOS 12.0 , *)) {
132
132
NSDictionary <NSString *, NSString *> *networkCurrentRadioAccessTechnologyDict =
133
133
networkInfo.serviceCurrentRadioAccessTechnology ;
@@ -137,7 +137,9 @@ GDTCORNetworkMobileSubtype GDTCORNetworkMobileSubTypeMessage() {
137
137
networkCurrentRadioAccessTechnology = networkCurrentRadioAccessTechnologyDict.allValues [0 ];
138
138
}
139
139
} else {
140
+ #if TARGET_OS_IOS && __IPHONE_OS_VERSION_MIN_REQUIRED < 120000
140
141
networkCurrentRadioAccessTechnology = networkInfo.currentRadioAccessTechnology ;
142
+ #endif // TARGET_OS_IOS && __IPHONE_OS_VERSION_MIN_REQUIRED < 120000
141
143
}
142
144
#endif // TARGET_OS_MACCATALYST
143
145
if (networkCurrentRadioAccessTechnology) {
@@ -147,9 +149,9 @@ GDTCORNetworkMobileSubtype GDTCORNetworkMobileSubTypeMessage() {
147
149
} else {
148
150
return GDTCORNetworkMobileSubtypeUNKNOWN;
149
151
}
150
- #else
152
+ #else // TARGET_OS_IOS
151
153
return GDTCORNetworkMobileSubtypeUNKNOWN;
152
- #endif
154
+ #endif // TARGET_OS_IOS
153
155
}
154
156
155
157
NSString *_Nonnull GDTCORDeviceModel () {
You can’t perform that action at this time.
0 commit comments