Hello,
Thank you,
Bruno.
### [REQUIRED] Step 1: Describe your environment
* Unity version: 2019.4.18f1
* Google Mobile Ads Unity plugin version: v6.0.2
* Platform: iOS
* Platform OS version: iOS 13.0 (only this version)
* Any specific devices issue occurs on: No
* Mediation ad networks used, and their versions: N/A
### [REQUIRED] Step 2: Describe the problem
#### Steps to reproduce:
Import the Admob Unity, configure the `GoogleMobileAdsSettings` and export the iOS build. In the Xcode project build and run on any device running **iOS 13.0** (this version is important, the crash doesn't happen on iOS13.1 and later nor any previous versions). Notice the crash at launch:
```
Oct 11 09:48:25 iPhone MyApp(CoreFoundation)[374] <Notice>: -[NSProcessInfo isMacCatalystApp]: unrecognized selector sent to instance 0x280e710e0
Oct 11 09:48:25 iPhone MyApp(UnityFramework)[374] <Notice>: Uncaught exception: NSInvalidArgumentException: -[NSProcessInfo isMacCatalystApp]: unrecognized selector sent to instance 0x280e710e0
(
0 CoreFoundation 0x00000001bb16317c D5F84910-7E94-3323-B593-A8D32E1E9518 + 1220988
1 libobjc.A.dylib 0x00000001bb66e51c objc_exception_throw + 56
2 CoreFoundation 0x00000001bb0683e8 D5F84910-7E94-3323-B593-A8D32E1E9518 + 193512
3 CoreFoundation 0x00000001bb16736c D5F84910-7E94-3323-B593-A8D32E1E9518 + 1237868
4 CoreFoundation 0x00000001bb168dac _CF_forwarding_prep_0 + 92
5 UnityFramework 0x00000001046f9818 GADTransparencyAuthorizationStatus + 452
6 UnityFramework 0x00000001046f9710 GADTransparencyAuthorizationStatus + 188
7 libdispatch.dylib 0x00000001bb989244 8AFE5198-83E4-3934-9CF7-AB9304A24917 + 373316
8 libdispatch.dylib 0x00000001bb930bc4 8AFE5198-83E4-3934-9CF7-AB9
Oct 11 09:48:25 iPhone MyApp(CoreFoundation)[374] <Notice>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSProcessInfo isMacCatalystApp]: unrecognized selector sent to instance 0x280e710e0'
```
#### Relevant Code:
```
NSProcessInfo *processInfo = [[NSProcessInfo alloc] init];
if (@available(iOS 13.0, *)) {
NSLog(@"isMacCatalystApp: %i", [processInfo isMacCatalystApp]);
}
else {
NSLog(@"isMacCatalystApp NOT available");
}
```
I don't have access to the Admob iOS framework code but I believe that changing the validation to iOS 13.1+ where the `[NSProcessInfo isMacCatalystApp]` is used would fix this issue for now. I understant this could be a bug on the iOS itself but it's an easy fix on Admob iOS framework that will make ir more stable and reliable.
Thank you.