如何在当前项目中搜索UIWebView组件的使用情况? [英] How to search for any UIWebView component usage inside a current project?

查看:145
本文介绍了如何在当前项目中搜索UIWebView组件的使用情况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在提交我的最新版本时,Apple会对此警告做出回应.

when submitting my latest build, Apple has response with this warning.

ITMS-90809:不推荐使用的API-Apple将停止接受使用UIWebView API的应用程序的提交.有关更多信息,请参见 https://developer.apple.com/documentation/uikit/uiwebview

仅供参考,我已经根据Apple的建议将所有UIWebView组件迁移到了我项目中的WKWebView组件,但是Apple仍然以相同的警告进行响应.

Fyi, I already migrate all UIWebView component to WKWebView component in my project based on Apple recommendation but Apple still response with the same warning.

除了使用Xcode内的搜索功能之外,还有什么方法可以搜索仍附加到我项目中的UIWebView元素?

Is there any ways to search for any UIWebView element that still attached to my project other that using Search functionality inside Xcode?

推荐答案

嘿,我尝试在Xcode中搜索. 几个第三方库都使用了它. (例如FBSDK) 我更新了这些库,但这还不够.

Hey I tried searching in Xcode. Couple of the third party libraries used it. (FBSDK for example) I updated those libraries but that wasn't sufficient.

在下一次上传时,可怕的电子邮件再次到达.

On the next upload the scary email arrived again.

然后我找到了这篇文章:

Then I found this article: https://medium.com/@zivchen_42755/for-me-that-wasnt-enough-it-didn-t-found-all-of-them-thats-weird-something-to-do-with-pod-i-a068d55b7fab

,在评论中有人提到grep是药物.

and in the comments someone mentioned grep being the medicine.

所以我尝试了grep -r UIWebView /Path/To/Project/*

它发现了两个也使用UIWebView的二进制框架. (GoogleSignin,Crashlytics ...) 我也更新了这些.

And it found a couple of the binary frameworks that also use UIWebView. (GoogleSignin, Crashlytics ...) I updated those too.

在下一次上传时,没有可怕的电子邮件:D

On the next upload there was no scary email :D

这篇关于如何在当前项目中搜索UIWebView组件的使用情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆