iOS提审 Guideline 2.1 - Information Needed AppTrackingTransparency framework

在iOS应用审核中,开发者遇到AppTrackingTransparency框架的权限请求无法在iOS16.5.1上定位的问题。解决方案包括检查并确保在最新OS上正确实现请求,更新AppStoreConnect中的应用隐私信息,以及解决链接错误,将AdSupport.framework和AppTrackingTransparency.framework添加到TARGETS框架中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Guideline 2.1 - Information Needed

We’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 16.5.1.

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 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.

If your app does not track users, update your app privacy information in App Store Connect to not declare tracking. You must have the Account Holder or Admin role to update app privacy information.

解决:
info.plist NSUserTrackingUsageDescription 权限

#import <AppTrackingTransparency/AppTrackingTransparency.h>
#import <AdSupport/AdSupport.h>
在applicationDidBecomeActive (程序进入前台) 里写 百度说要在注册通知以后调用
//iOS14以上 请求跟踪授权
if(@available(iOS 14.0, *))
{
[ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) {
if(status == ATTrackingManagerAuthorizationStatusAuthorized)
{
NSString *adid = [[[ASIdentifierManager sharedManager] advertisingIdentifier]UUIDString];
}
}];
}
else{
//低于14
NSString *adid = [[[ASIdentifierManager sharedManager] advertisingIdentifier]UUIDString];
}

Undefined symbols for architecture arm64:
OBJC_CLASSKaTeX parse error: Expected group after '_' at position 86: … "_OBJC_CLASS_̲_ATTrackingManager”, referenced from:
objc-class-ref in xxxx.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
请添加图片描述

请添加图片描述
因为引入AdSupport 和 AppTrackingTransparency的链接有问题。需要把AdSupport.framework 和 AppTrackingTransparency.framework 导入到TARGETS framework里

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值