从Xcode 11.1升级到Xcode 11.2之后,我的应用崩溃了:
***由于未捕获的异常'NSInvalidUnarchiveOperationException'而终止应用程序,原因:'无法实例化名为_UITextLayoutView的类,因为未找到名为_UITextLayoutView的类;该类需要在源代码中定义或从库中链接(确保该类是正确目标的一部分)'
为什么会这样呢?如何防止此崩溃?
我已经linphone在我的应用程序中集成了sdk.当我的应用程序进入后台模式时,我的应用程序没有收到任何来电.我想让我的应用程序工作就像skype进入后台模式一样.
我在info.plist中添加了所需的后台模式.
Application does not run in background - NO
Required background modes
item 1 App provides Voice over IP services
Run Code Online (Sandbox Code Playgroud)
我已经实现了以下方法ApplicationDidEnterBackground,但我仍面临同样的问题.
1.setKeepAliveTimeout:handler:
[http://www.linphone.org/docs/liblinphone/group__IOS.html][1]
Run Code Online (Sandbox Code Playgroud)
请帮帮我.提前致谢.