I got a deprecated error while uploading the build to testflight, because of the UIWebView.
So I have removed the RCTWebView.m, RCTWebView.h, RCTWebViewManager.m, RCTWebViewManager.h and then I not found the UIWebview for some time.
But here again it get added in my Libraries under React.Xcodeproj. How can I remove this entirely?
You deleted the files from a library you are including. When you perform the activity that installs the library again it will replace the one you changed with the version specified by your build. To fix permanently you need to speicfy a version of the react library that does not have these files