Posts

Post marked as solved
2 Replies
6.9k Views
I'm testing my app on an XS simulator running iOS 13 from the XCode beta application. It builds without any errors. However, the app crashes at startup with the following error.Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported action method signature. Must return MPRemoteCommandHandlerStatus or take a completion handler as the second argument.'My app runs just fine on all previous versions of iOS. I looked through the developer release notes for iOS 13 and was unable to find anything about changes to the MPRemoteCommandCenter. The app is crashing at line 03 in the following code block. MPRemoteCommandCenter * commandCenter = [MPRemoteCommandCenter sharedCommandCenter]; commandCenter.playCommand.enabled = YES; [commandCenter.playCommand addTarget:self action:@selector(resume)];Does anyone have insight on this issue? Might this be a bug with iOS 13 or the simulator?
Posted Last updated
.