Xcode is not allowing to upload app with deprecated webview API. So I have deleted this file from react-native to resolved this issue. But on build time it gives me below error. How can I solve this issue?If I am removing any from the library, how to remove its reference from Xcode. I want to remove file reference using CLI or any custom command to do this.
The following build commands failed: PBXCp Views/RCTWebView.h /Users/runner/Library/Developer/Xcode/DerivedData/community_app-cldwyrbdtciuokgdmkewvkkfdofo/Build/Intermediates.noindex/ArchiveIntermediates/community_app/BuildProductsPath/Release-iphoneos/include/React/RCTWebView.h PBXCp Views/RCTWebViewManager.h /Users/runner/Library/Developer/Xcode/DerivedData/community_app-cldwyrbdtciuokgdmkewvkkfdofo/Build/Intermediates.noindex/ArchiveIntermediates/community_app/BuildProductsPath/Release-iphoneos/include/React/RCTWebViewManager.h(2 failures)