问题描述
因此,在将我的应用提交给Apple Testfight之后,我一直试图克服以下错误:
Dear Developer,We identified one or more issues with a recent delivery for your app. Please correct the following
issues,then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead,use
WKWebView for improved security and reliability. Learn more
(https://developer.apple.com/documentation/uikit/uiwebview).
这是我尝试过的:
-
验证我正在使用xamarin> 4.5
-
已验证我正在使用Xamarin.iOS> Xamarin.iOS 13.10.0.17
-
我使用mtouch arg --warn-on-type-ref = UIKit.UIWebView进行了验证,该构建输出没有对UIWebView的引用。
-
我的解决方案不包含文本“ UIWebView”
此问题似乎很受欢迎,因为我发现了很多有关同一问题的参考,但这些修复都不适合我。我完成了所有步骤here
除了通过苹果公司提交机票外,是否有人对我应该寻找的建议有任何建议?
我现在还执行了以下操作:
我不确定该如何处理?
现在在Visual Studio中,我添加了以下其他mtouch args:
-warnaserror:1502 -warnaserror:1503
结果如下:
One or more reference(s) to type 'UIKit.UIWebView' already exists inside 'Xamarin.Forms.Platform.iOS,Version=2.0.0.0,Culture=neutral,PublicKeyToken=null' before linking arnBooking.iOS
不确定如何找到它在哪里?
解决方法
这里的问题原来是我使用的HockeySDK.Xamarin软件包,现在显然已弃用该软件包。删除此依存关系并替换为AppCenter后,批准提交。我凭空想出了这一点,因此我担心将来再次处于绝望的地步,因为苹果拒绝我的提交,却几乎不知道如何解决。