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

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

问题描述

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

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.

我想弄清楚我的应用程序中哪个第三方框架触发了此问题,而不是简单的方法,而只是添加.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或其中包含的文件,以找出导致此问题的第三方依赖性?

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.

默认的Release配置曾经是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天全站免登陆