How to search for any UIWebView component usage inside a current project?

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

and in the comments someone mentioned grep being the medicine.

So I tried grep -r UIWebView /Path/To/Project/*

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

On the next upload there was no scary email :D


You can find by using below command lines in your project.

$ cd yourprojectpath

$ grep -r "UIWebView" .