简体   繁体   English

在最近的iOS版本中,应用程序突然崩溃

[英]Abrupt crash in app on a recent iOS build

After updating my iOS devices to some recent version, an app of mine started regularly crashing with output: 将我的iOS设备更新到最新版本后,我的应用程序开始经常崩溃并输出:

2018-01-30 19:18:09.931179+0100 iPuja[40116:2592196] * Assertion failure in -[MPRequestResponseController endAutomaticResponseLoading], /BuildRoot/Library/Caches/com.apple.xbs/Sources/MediaPlayer/MobileMusicPlayer-4015.500.25/MediaPlaybackCore/Middleware/MPRequestResponseController.m:153 2018-01-30 19:18:09.932192+0100 iPuja[40116:2592196] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Mismatched begin/endAutomaticResonseLoading.' 2018-01-30 19:18:09.931179 + 0100 iPuja [40116:2592196] *断言失败 - [MPRequestResponseController endAutomaticResponseLoading],/ BuildRoot / Library / People / com.apple.xbs / Sources / MediaPlayer / MobileMusicPlayer-4015.500.25 /MediaPlaybackCore/Middleware/MPRequestResponseController.m:153 2018-01-30 19:18:09.932192 + 0100 iPuja [40116:2592196] *由于未捕获的异常'NSInternalInconsistencyException'而终止应用程序,原因:'不匹配begin / endAutomaticResonseLoading。' *** First throw call stack: (0x1852b4238 0x18447c5ec 0x1852b40a4 0x185c9003c 0x196f552b4 0x10204d194 0x10205a478 0x10204ee5c 0x102051b64 0x18525c660 0x18525a1b8 0x18517a498 0x18713b020 0x18f5c421c 0x101022bf4 0x184c19fc0) libc++abi.dylib: terminating with uncaught exception of type NSException ***第一次抛出调用堆栈:(0x1852b4238 0x18447c5ec 0x1852b40a4 0x185c9003c 0x196f552b4 0x10204d194 0x10205a478 0x10204ee5c 0x102051b64 0x18525c660 0x18525a1b8 0x18517a498 0x18713b020 0x18f5c421c 0x101022bf4 0x184c19fc0)libc ++ abi.dylib:以NSException类型的未捕获异常终止

What might it be and how to fix it or know better? 它可能是什么以及如何解决或知道更好?

问题是由于调用了endGeneratingPlaybackNotifications而没有首先调用beginGeneratingPlaybackNotifications,这种情况在iOS 11.3中产生崩溃。

Are you using iOS 11.3 beta by chance? 您是偶然使用iOS 11.3测试版吗? We noticed this happening with the beta OS. 我们注意到这个问题发生在beta操作系统上。 Didn't see the crash with 11.2.5. 没有看到11.2.5的崩溃。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM