NSInternalInconsistencyException while running VOIP enabled apps on iOS13

我是研究僧i 提交于 2020-06-27 18:00:06

问题


*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'PushKit apps that use VoIP push must link either CallKit or IncomingCallNotifications frameworks.'

This error is displayed on xcode 11 Beta that uses iOS 13. No issue on xcode10.

PushKit apps that use VoIP push must link either CallKit or IncomingCallNotifications frameworks. #voip


回答1:


Embedding CallKit.framework in General Settings of the Project resolves this issue.

On iOS 13, Apple now mandates that all VoIP push notifications be reported to the CallKit framework as a new call

Important changes mentioned here:

https://developer.apple.com/documentation/pushkit/pkpushregistrydelegate/2875784-pushregistry?language=objc

https://forums.developer.apple.com/thread/117939



来源:https://stackoverflow.com/questions/57704851/nsinternalinconsistencyexception-while-running-voip-enabled-apps-on-ios13

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!