Cocos2d-x issue on IOS 11.3

Hi,

@slackmoehrle @nite

we not sure yet if it is cocos or some external SDK like cricket audio engine, but after rollout of IOS 11.3 we started to receive critical bug, after googling it seems related only to latest IOS users, so maybe something should be done about this - but how to figure out what exactly causing it? We used cocos2d-x 3.15.1

Fatal Exception: NSInternalInconsistencyException
Mismatched begin/endAutomaticResonseLoading.

Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x184434e5c __exceptionPreprocess
1 libobjc.A.dylib 0x1835fc5ec objc_exception_throw
2 CoreFoundation 0x184434cc8 +[NSException raise:format:]
3 Foundation 0x184e11dfc -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4 MediaPlayer 0x1961c35a0 -[MPRequestResponseController endAutomaticResponseLoading]
5 libdispatch.dylib 0x183d34ae4 _dispatch_client_callout
6 libdispatch.dylib 0x183d3cf18 _dispatch_continuation_pop$VARIANT$mp
7 libdispatch.dylib 0x183d46808 _dispatch_source_invoke$VARIANT$mp
8 libdispatch.dylib 0x183d415b8 _dispatch_main_queue_callback_4CF$VARIANT$mp
9 CoreFoundation 0x1843dd280 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
10 CoreFoundation 0x1843dadd8 __CFRunLoopRun
11 CoreFoundation 0x1842fafe8 CFRunLoopRunSpecific
12 GraphicsServices 0x1862c2020 GSEventRunModal
13 UIKit 0x18e7db090 UIApplicationMain
14 game -mobile 0x104f3b094 main (main.m:8)
15 libdyld.dylib 0x183d99fc0 start

I am not sure. I do know of a bug in SimpleAudioEngine on iOS 11.3 but so far nothing else.

Hm, we have this bug and we use cricket audio engine too…

Any info how to fix it?

A similar problem was placed. It is ios 11.3.

Cricket audio
It may be caused by using it.

If you know how to solve it, I am glad if you can share it.

Hi, we alredy pinged cricket audio engine and they have fixed seems that bug but we not tested yet they latest sdk with fix

2 Likes

Please download the latest sdk, 1.6.6c, from the website, which fixes the issue.

1 Like