录制视频时出现“通信错误:< OS_xpc_error:” [英] 'Communications error: <OS_xpc_error:' while recording video

查看:546
本文介绍了录制视频时出现“通信错误:< OS_xpc_error:”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用我的应用程序录制视频4-5分钟,每次应用程序在控制台和崩溃时显示以下消息。

I am recording video using my application for 4-5 minutes, each time application shows following message in console and crashes.


警告:无法从dyld共享缓存加载任何Objective-C类信息。这将显着降低可用类型信息的质量。

warning: could not load any Objective-C class information from the dyld shared cache. This will significantly reduce the quality of type information available.



Communications error: <OS_xpc_error: <error: 0x19d846af0> { count = 1, contents =
"XPCErrorDescription" => <string: 0x19d846e50> { length = 22, contents = "Connection interrupted" }
}>

iOS版本:9.1

设备:iPhone 5S,6和6+。

iOS version : 9.1
Device : iPhone 5S, 6 and 6+.

同样的东西就像9.1以下的其他版本的魅力一样。

Same thing works like charm in other version below 9.1.

是否有人知道此错误或任何解决方案?

is anyone aware about this error or any resolution for same?

推荐答案

最后出汗3天后&结果,它证明是值得的。

Finally after 3 days of sweating & findings, it proven worthy.

关于XPC错误的概述:

'XPC '是Apple的进程间通信(IPC)系统。某些功能(例如h.264编码/解码,或与相机硬件交互)由一个单独的应用程序处理 - 一个守护程序 - 在后台一直运行。

'XPC' is Apple's inter-process communication (IPC) system. Some functionality (such as h.264 encoding/decoding, or interacting with camera hardware) is handled by a separate app - a daemon - that runs all the time in the background.

'连接中断'表示IPC连接因某种原因中断。也许花了太长时间,也许时机刚刚坏,守护程序或你的应用程序需要紧急做其他事情。

'Connection interrupted' means that the IPC connection was interrupted for some reason. Perhaps it took too long, perhaps the timing was just bad and the daemon or your app needed to urgently do something else.

关于XPC服务的更多细节

解决方案

内部通信错误,当您的应用与设备硬件通信时会发生此类错误。等待苹果发布新的操作系统更新,可以下载。由于发布操作系统版本中的一些陈词滥调,大部分时间都会发生。

Its internal communication error, when your app communicates with device hardware such error occurs. Wait for apple to release new update of OS, when available download it. As most of the time it happens due to some glich in release OS version.

我在iOS 9.1中遇到了同样的问题。下载新版本的iOS 9.2并修复它而不编写单行代码。

I faced same issue in iOS 9.1. Downloaded new version iOS 9.2 and it fixed without writing single line of code.

谢谢。

这篇关于录制视频时出现“通信错误:&lt; OS_xpc_error:”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆