公司一个老项目,准备提交版本更新。结果一直卡在
UIWebView
上面,正常情况下就是移除所有的UIWebView
,但还是发了邮件提示没有移除干净。邮件如下:
Dear Developer,
We identified one or more issues with a recent delivery for your app, "****" 1.0.2 (1.0.2.2). 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).
Best regards,
The App Store Team
-
按照要求移除代码中的
UIWebView
![](https://img.haomeiwen.com/i6545546/9c51f81bb90326cb.png)
-
查看第三方库是否包含
UIWebView
打开终端,cd 到项目根目录下输入下方指令 (空格和点是要有的)
grep -r UIWebView .
打印结果:
mac@Macmini EEP % grep -r UIWebView .
Binary file ./Pods/UMCShare/UMShare/UMShare.framework/UMShare matches
Binary file ./Pods/UMCShare/UMShare/SocialLibraries/WeChat/libSocialWeChat.a matches
Binary file ./EEP.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate matches
最后发现是友盟的第三方库引用了,更新处理就解决了。
然后再次输入命令检查一遍为空即可。
网友评论