【问题标题】:VoIP in iOS 10 issues (Xcode 8 beta 3)iOS 10 中的 VoIP 问题(Xcode 8 beta 3)
【发布时间】:2016-07-25 22:05:08
【问题描述】:

当在以前的 iOS 版本中运行良好的应用程序中使用 VoIP 时,我在 iOS 10 中遇到了一些运行时问题。我收到的第一个错误是:

Failed to install UIApplication keep alive handler. VoIP keep-alive
timer handler could not be successfully installed. ('voip' must be 
present in UIBackgroundModes in the application Plist.)

我已将“隐私 - VoIP 使用说明”密钥对添加到 Info.plist,但它仍然无法正常工作。 'voip' 也已经在我的 UIBackgroundModes 值中。

一旦我连接了一个 VoIP 呼叫(无论是作为呼叫者还是接收者),我也会收到不祥的错误:

[access] <private>

似乎这些东西中的一些仍然随着每个额外的 Xcode 8 测试版而改变,但是几乎没有文档。知道如何解决这些错误吗?

【问题讨论】:

  • iOS 10 是测试版软件。向 Apple 报告错误。

标签: ios xcode voip swift3 xcode8


【解决方案1】:

我的 Info.plist 中缺少 NSCameraUsageDescription 键。添加后,要使用 VoIP 视频通话,

[access] <private>

错误已解决。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-11-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多