Currently, when I use ASIdentifierManager to get UUID in iOS15 like:
NSString *adIdfa = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];
There is a new crash happened which Backtrace is
*** Terminating app due to uncaught exception 'NSMallocException', reason:*** -[NSObject allocWithZone:]: attempt to allocate object of class 'NSXPCEncoder' failed
Last Exception Backtrace:
0 CoreFoundation ___exceptionPreprocess (in CoreFoundation) 236
1 libobjc.A.dylib bool method_lists_contains_any<method_list_t*>(method_list_t**, method_list_t**, objc_selector**, unsigned long) (in libobjc.A.dylib) 979
2 CoreFoundation _couldNotInstantiate (in CoreFoundation) 107
3 Foundation 0x0000000181c4b924 0x181c09000 + 272676
4 CoreFoundation ____forwarding___ (in CoreFoundation) 651
5 CoreFoundation ___forwarding_prep_0___ (in CoreFoundation) 91
6 CoreServices 0x000000018098bc54 0x1808ff000 + 576596
7 AdSupport -[ASIdentifierManager advertisingIdentifier] (in AdSupport) 167
I cannot figure if it is caused by the iOS15 system reason or my faults.