File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'GoogleUtilities'
3
- s . version = '7.1.0 '
3
+ s . version = '7.1.1 '
4
4
s . summary = 'Google Utilities for iOS (plus community support for macOS and tvOS)'
5
5
6
6
s . description = <<-DESC
Original file line number Diff line number Diff line change 1
- # 7.1.0 -- Unreleased
1
+ # 7.1.1
2
+ - Fix ` unrecognized selector ` for isiOSAppOnMac on early iOS 14 betas. (#6969 )
3
+
4
+ # 7.1.0
2
5
- Added ` NSURLSession ` promise extension. (#6753 )
3
6
- ` ios_on_mac ` option added to ` GULAppEnvironmentUtil.applePlatform() ` . (#6799 )
4
7
- Fixed completion handler issue in ` GULAppDelegateSwizzler ` for
Original file line number Diff line number Diff line change @@ -272,10 +272,11 @@ + (NSString *)applePlatform {
272
272
#if TARGET_OS_MACCATALYST
273
273
applePlatform = @" maccatalyst" ;
274
274
#elif TARGET_OS_IOS
275
-
276
275
#if defined(__IPHONE_14_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000
277
276
if (@available (iOS 14.0 , *)) {
278
- applePlatform = [NSProcessInfo processInfo ].isiOSAppOnMac ? @" ios_on_mac" : @" ios" ;
277
+ // Early iOS 14 betas do not include isiOSAppOnMac (#6969)
278
+ applePlatform = ([[NSProcessInfo processInfo ] respondsToSelector: @selector (isiOSAppOnMac )] &&
279
+ [NSProcessInfo processInfo ].isiOSAppOnMac ) ? @" ios_on_mac" : @" ios" ;
279
280
} else {
280
281
applePlatform = @" ios" ;
281
282
}
You can’t perform that action at this time.
0 commit comments