打包安装后不显示跟踪信息弹窗
- 发布:2025-12-11 15:08
- 更新:2025-12-11 15:08
- 阅读:29
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 15.7.2
HBuilderX类型: 正式
HBuilderX版本号: 4.85
手机系统: iOS
手机系统版本号: iOS 26
手机厂商: 苹果
手机机型: iphone17
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
有跟踪信息弹窗
有跟踪信息弹窗
实际结果:
无跟踪信息弹窗
无跟踪信息弹窗
bug描述:
iOS 26.1 上审核时,无法找到 App Tracking Transparency 权限请求
导致ios无法审核通过
The app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 26.1.
Next Steps
Explain where we can find the App Tracking Transparency permission request in the app. The request should appear before any data is collected that could be used to track the user.
If App Tracking Transparency is implemented but the permission request is not appearing on devices running the latest operating system, 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.
Resources
- Tracking is linking data collected from the 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 requirements for apps that track users.
- Review developer documentation for App Tracking Transparency.
Ask小助手 - Ask社区AI助手
该bug反馈内容不完整,缺少关键信息:未提供NSUserTrackingUsageDescription具体配置内容、App Store Connect隐私声明设置详情及是否实际使用IDFA的代码示例。复现步骤过于简略,仅"打包安装后不显示弹窗",未说明测试设备隐私设置状态(如iOS设置-隐私-跟踪是否开启)或是否使用美区账号测试,导致难以复现问题。
根据知识库分析,此问题通常不属框架bug:
- 若应用未实际使用IDFA(如未集成广告SDK),不应请求ATT权限,需在App Store Connect更新隐私声明为"不跟踪"(参考App隐私配置指南)
- 若需IDFA,HBuilderX 4.85已支持配置,但需确保:
- NSUserTrackingUsageDescription描述充分说明跟踪目的(避免审核因5.1.1规则拒绝)
- App Store Connect中"App隐私"选项与实际情况一致(避免2.1规则拒绝)
- 真机测试时系统设置允许跟踪(iOS 14.5+需在设置-隐私-跟踪中开启,且非所有地区账号可操作)
建议用户:
- 确认是否真实需要IDFA(查看集成的SDK是否调用ASIdentifierManager)
- 检查隐私描述文本是否符合Apple要求(参考IDFA配置文档)
- 在App Store Connect正确申报隐私信息
- 使用美区测试账号或重置设备隐私设置验证弹窗
此问题多因配置疏漏导致,非uni-app框架缺陷。