问题描述
大家下午好,我们接到了 Apple 的电话,说我们应用中包含的 Callkit 将阻止应用审批流程.
Good afternoon everyone today we have received a call from Apple saying that Callkit, included in our app, will block the app approval process.
Apple 发现 Callkit 存在问题,所有引用 callkit 的应用都不会发布.
Apple discovered an issue with Callkit and all the apps with a reference to callkit won't be published.
问题是我们没有使用 callkit,但它包含在程序集 Xamarine.Ios 中,这是 Ios Xamarine 项目的主要程序集.
The problem is that we aren't using callkit but it's included in the assembly Xamarine.Ios , the main assembly for an Ios Xamarine project.
有没有办法根据您的意见,通过删除此参考资料或类似内容来解决这个问题?非常感谢您的帮助
Is there a way to go over this problem by your opinion, by removing or similar stuff this reference?Thank you very much for your appreciated help
推荐答案
默认情况下,您的设备版本(包括您提交给 Apple 的版本)应该启用托管链接器(使用 Link SDK 设置).
By default your device builds (including the one you submit to Apple) should have the managed linker enabled (with Link SDK setting).
这将从应用程序附带的 Xamarin.iOS.dll 中删除任何 CallKit 痕迹(以及许多其他未使用的东西).
That will remove any trace of CallKit (and a lot of other unused stuff) from the Xamarin.iOS.dll that ships with your application.
除非它在您的应用程序中的其他地方使用(或第三方代码),在这种情况下链接器将无法删除它.
That is unless it's used elsewhere inside your application (or 3rd party code), in which case the linker won't be able to remove it.
这篇关于发布问题,即使我们不使用 Callkit 也包括在内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!