Publishing issue, Callkit is included even we are not using it

徘徊边缘 提交于 2019-11-28 10:10:10

问题


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 discovered an issue with Callkit and all the apps with a reference to callkit won't be published.

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


回答1:


By default your device builds (including the one you submit to Apple) should have the managed linker enabled (with Link SDK setting).

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.




回答2:


I had the same issue. I had to use find / -type f -exec grep -H 'CallKit' {} \; inside your project folder to find which app/framework is using it. It was a third party framework using CallKit.



来源:https://stackoverflow.com/questions/39751196/publishing-issue-callkit-is-included-even-we-are-not-using-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!