I think there is critical bug with audio manager in cocos2d-x 3.16 , it crashing app on IOS 11 time to time.
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x185a81d04 __exceptionPreprocess
1 libobjc.A.dylib 0x184cd0528 objc_exception_throw
2 CoreFoundation 0x185a8f1c8 __methodDescriptionForSelector
3 CoreFoundation 0x185a876b0 ___forwarding___
4 CoreFoundation 0x18596d01c _CF_forwarding_prep_0
5 CoreFoundation 0x185a140bc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
6 CoreFoundation 0x185a1365c _CFXRegistrationPost
7 CoreFoundation 0x185a133c0 ___CFXNotificationPost_block_invoke
8 CoreFoundation 0x185a909c4 -[_CFXNotificationRegistrar find:object:observer:enumerator:]
9 CoreFoundation 0x18594a0c0 _CFXNotificationPost
10 Foundation 0x18636b498 -[NSNotificationCenter postNotificationName:object:userInfo:]
11 AVFAudio 0x18b23a044 -[AVAudioSession privateInterruptionWithInfo:]
12 AVFAudio 0x18b23b054 (anonymous namespace)::HandlePropertyListenerCallback(unsigned int, objc_selector*, NSObject*)
13 libdispatch.dylib 0x185405088 _dispatch_call_block_and_release
14 libdispatch.dylib 0x185405048 _dispatch_client_callout
15 libdispatch.dylib 0x185411b74 _dispatch_main_queue_callback_4CF$VARIANT$mp
16 CoreFoundation 0x185a29eb0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
17 CoreFoundation 0x185a27a8c __CFRunLoopRun
18 CoreFoundation 0x185947fb8 CFRunLoopRunSpecific
19 GraphicsServices 0x1877dff84 GSEventRunModal
20 UIKit 0x18ef1c2f4 UIApplicationMain
21 Mygame-mobile 0x100d010f8 main (main.m:5)
22 libdyld.dylib 0x18546a56c start