先看一下问题
自从3月份开始 只要新上线过着更新APP就会收到苹果的邮件 先看邮件
Although submission for App Store review was successful, you may want to correct the following issues in your next submission for App Store review. Once you've corrected the issues, upload a new binary to App Store Connect.
ITMS-91053: Missing API declaration - Your app’s code in the “----” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryDiskSpace. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason
意思是从五月份开始如果没有添加权限说明 这就不是警告了 就是被拒的理由了
添加权限说明很好添加 Xcode里 command+ N 搜索 pr 就会出现如下选项 选第一个
添加上后 进入 如图 先添加一个type的 array
有几项警告就添加几个item
每个item下再添加一个type 一个 reasons 如图
type就根据邮件内容选最右边有选项
关键的是reasons
系统会自动检测你需要添加的说明 有几项就添加几个item 把所有的选项都添加上 如图
如此 再次发版就不会有警告邮件了