【发布时间】:2019-01-02 05:49:14
【问题描述】:
大约一个月前,我在 xcode 上用 cpp 编写了一个程序,该程序用 Opencv 打开相机并能够显示提要。现在,当我运行它时,它会抛出
[access] This app has crashed because it attempted to access privacy-sensitive
data without a usage description. The app's Info.plist must contain an
NSCameraUsageDescription key with a string value explaining to the
user how the app uses this data.
我认为唯一可以改变的是升级到 Mac Mojave。这是错误的唯一来源,因为它以前工作过?或者我的项目中的其他东西会导致现在出现这种情况吗?
【问题讨论】:
标签: xcode opencv webcam privacy info.plist