s***@163.com
s***@163.com
  • 发布:2023-12-13 17:12
  • 更新:2023-12-18 11:56
  • 阅读:143

ios离线打包时去掉跟踪用户权限报错

分类:uni-app

我用的3.8.4的SDK打ios离线包。
我的APP不需要用到这些东西,所以我想去掉跟踪用户的权限


然后我做了以下操作:
1、把manifest里“使用广告标识(IDFA)”的勾去掉
2、把原生工程的info.plist里的“Privacy-Tracking Usage Description”删了。
打包之后APP报错:This app has crashed because it attempted to access private-sensitive data without a usage description. The app's Info.plist must contain an NSUserTrackingUsageDescription key with a string value explaining to the user how the app uses this data.
请问还需要配置什么吗?

2023-12-13 17:12 负责人:DCloud_iOS_WZT 分享
已邀请:
DCloud_iOS_WZT

DCloud_iOS_WZT

AppTrackingTransparency.framework
libAdSupport.a 这几个库依赖都去掉

要回复问题请先登录注册