如何确定哪些框架触发了隐私敏感的 .plist 问题 [英] How to work out which frameworks are triggering privacy-sensitive .plist issues

查看:22
本文介绍了如何确定哪些框架触发了隐私敏感的 .plist 问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了 iTunes 拒绝我的 .ipa 的经典问题,因为它缺少一堆隐私敏感数据"的 .plist 条目(在我的例子中是日历、联系人、麦克风、Apple Music 和 Siri!),尽管我的应用与这些框架无关.

I've got the classic problem of iTunes rejecting my .ipa because it's missing a bunch of .plist entries for 'privacy-senstive data' (in my case calendar, contacts, microphone, Apple Music and Siri!), despite my app having nothing to do with these frameworks.

我想找出我的应用程序中的哪些 3rd 方框架触发了这个问题,而不是采取简单的方法并只添加 .plist 条目.

I want to work out which 3rd party frameworks in my app are triggering this problem, rather than take the easy way out and just add the .plist entries.

有没有办法分析您的 .ipa 或其包含的文件,以确定导致此问题的第 3 方依赖项?

Is there a way to analyse your .ipa or the files it contains to work out which 3rd party dependency is causing this issue?

为了清楚起见,我知道我可以只添加所需的 .plist 条目,这个问题就会消失 - 我的问题具体是如何确定哪些依赖项触发了这个问题.

Just to be clear, I understand I could just add the required .plist entries and this problem would go away - my question is specifically how to work out which dependencies are triggering this problem.

推荐答案

尽管我的应用与这些框架无关.

despite my app having nothing to do with these frameworks.

您的发布配置中的Link Behavior 是否设置为Don't Link?

Is your Link Behavior in your release configuration set to Don't Link?

如果是这样,未剥离的 Xamarin.iOS.dll 会引用所有内容,并且会导致各种隐私/权利问题,因为您的应用已链接到它们但实际上从未使用过

If so, the non-stripped Xamarin.iOS.dll references everything and will cause all kinds of privacy/entitlement issues just due to the fact that your app is linked to them but actually never uses them.

默认的发布配置过去是Link Framework SDKs Only (-linksdk) 但在最近的版本中似乎并非如此,即使文档说明就是这样.

The default Release configuration used to be Link Framework SDKs Only (-linksdk) but in the recent releases that does not seem to be the case even though the documentation states that it is.

将行为更改为 Link Framework SDKs Only,创建另一个存档和 ipa 并查看 Apple 是否喜欢该版本;-)

Change the behavior to Link Framework SDKs Only, create another archive and ipa and see if Apple likes that version ;-)

这篇关于如何确定哪些框架触发了隐私敏感的 .plist 问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆