gpt4 book ai didi

ios - 应用被拒绝 - 缺少 info.Plist key

转载 作者:塔克拉玛干 更新时间:2023-11-02 10:22:58 25 4
gpt4 key购买 nike

尝试将我的第一个应用程序部署到 App Store 但遇到了一些错误。

我的应用因以下原因被 App Store 拒绝:

Missing Info.plist key - This app attempts 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.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.

Missing Info.plist key - This app attempts 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.

My info.plist file

有人可以给我更多信息吗?如何添加这些键?

对 Swift 和 Xcode 还很陌生,所以这可能是一个 super 简单的修复!

感谢您的帮助!

最佳答案

您需要添加特定的 key 才能使用某些功能。您必须添加描述以向用户解释为什么需要访问这些功能。您需要添加的(根据您的问题)如下。一旦包含键,您就可以输入描述作为值。

  • 隐私 - 联系人使用说明
  • 隐私 - 照片库使用说明
  • 隐私 - 麦克风使用说明
  • 隐私 - 相机使用说明

    info.plist screenshot

关于ios - 应用被拒绝 - 缺少 info.Plist key ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45289840/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com