1

尽管我在 info.plist 中添加了 NSContactsUsageDescription 的描述字符串,但我在 Xcode 中收到此错误。它发生在模拟器和 iPad 和 iPhone 上。

[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 NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.

我尝试过清理、重建、从设备中删除应用程序、重新启动 Xcode。从 info.plist 中删除并再次添加。我还检查了 info.plist 的源代码,以查看密钥是否已正确添加。

我不断收到此错误!

4

0 回答 0