Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...