Home
avatar

SNOUX·雪飞

关于iOS AppStore审核被拒原因及解决方案

记录一些自己遇到的审核被拒问题及解决方案,如果你有同样的问题可以参考。

有时间我也会整理一些自己没遇到但网友们遇到的被拒问题及解决方案。希望对你有所帮助,如有问题请留言。

  • ITMS-91061: Missing privacy manifest(缺少隐私清单)

问题原因:

苹果认为一些第三方SDK可能会影响用户隐私,要求第三方SDK需要包含隐私清单文件,一般会收到邮件说明,大致如下:

ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/AFNetworking.framework/AFNetworking”, which includes AFNetworking, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements.

ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/MBProgressHUD.framework/MBProgressHUD”, which includes MBProgressHUD, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements.

从邮件描述可以得出,我们项目中使用了MBProgressHUDAFNetworking这两个SDK,但是它们没有按照苹果的最新要求包含隐私清单文件。

解决方案:

操作内容说明图例
1.新建 PrivacyInfo.xcprivacy 文件在 Xcode 中新建 Privacy 类型文件,用于声明第三方 SDK 的隐私清单信息创建Privacy文件
2.配置 Privacy Nutrition Label Types一般情况下可保持为空;如第三方 SDK 涉及用户数据采集,可参考 Apple 官方文档进行填写Privacy Nutrition Label Types
3.勾选对应 Target确保隐私清单文件被正确添加到 App 的 Target 中,否则不会被打包进最终构建勾选target
iOS审核问题 iOS