ios - 崩溃 : com. apple.root.default-qos SIGABRT ABORT

标签 ios objective-c swift cocoa-touch crashlytics

在我的应用程序中,我正在使用 crashlytics,它经常收到一份崩溃报告。这是崩溃的:

com.apple.root.default-qos SIGABRT ABORT 0x00000001907b7d74

我正在从服务器下载照片,为此我在 info.plist 中使用了以下代码

<key>NSPhotoLibraryAddUsageDescription</key>
<string>Need to save photos</string>

但我经常收到错误 CRASHING_DUE_TO_PRIVACY_VIOLATION + 682。

enter image description here

enter image description here

enter image description here

最佳答案

看看How do I prevent a WKWebView from presenting the Camera modal if a user has denied access to the camera?特别是因为 TCCAccessRequest_block_invoke_ 之后的标识符(我认为是一个内部常量)在您的情况下也是 2.80。简短的回答是:NSMicrophoneUsageDescription

关于ios - 崩溃 : com. apple.root.default-qos SIGABRT ABORT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47089309/

相关文章:

ios - 将背景图片设置为 iPad 应用程序的正确方法

iphone - 释放/解除分配标签栏 View Controller

swift - 我如何在 Swift 2.1 中读取 UnsafeMutablePointer<FILE>

arrays - Swift 引用与数组和字典的值

ios - 在 viewWillAppear( ) 中获取空值但在 viewDidLoad( ) 中获取有效值

ios - Firebase 获取数据

ios - 滚动不适用于 iOS 13 beta 上的 WKWebView

Objective-C 使用继承变量和覆盖继承属性

ios - 快速的 NSRangeException

objective-c - Objective-C : Simplest way of implementing multiple actions in a paragraph of text (like comments)