最近提交应用到AppStore审核,一直出现了Guideline 2.1错误,而且每次发生。
主要就是使用了App Tracking Transparency 向用户申请跟踪授权。在ios14之后,取得用户授权之前IDFA 将不可用。 IDFA(广告客户标识符)是 Apple 推出的一项 iOS 功能,可用于标识用户的移动设备。
我已经正确的使用ATT请求用户授权,但是每次上架还是被拒绝了。
使用范例:https://github.com/Jdb156158/AppTrackingTransparency.git
上架审核的时候,很快就收到回复了。以下就是跟Apple通信往来的内容:
来自 Apple
Guideline 2.1 - Information NeededWe're looking forward to completing our review, but we need more information to continue. Your app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 15.0.1.
Since you indicated in App Store Connect that you collect data in order to track the user, we need to confirm that App Tracking Transparency has been correctly implemented.
Next Steps
Please explain where we can find the App Tracking Transparency permission request in your app. The request should appear before any data is collected that could be used to track the user.
If your app does not track users, please update your app privacy information in App Store Connect. You must have the Account Holder or Admin role to update app privacy information.
If you've implemented App Tracking Transparency but the permission request is not appearing on devices running the latest OS, please review the available documentation and confirm App Tracking Transparency has been correctly implemented.
Resources
- Tracking is linking data collected from your app with third-party data for advertising purposes, or sharing the collected data with a data broker. Learn more about tracking.
- See Frequently Asked Questions about the new requirements for apps that track users.
- Review developer documentation for App Trackin