ITMS-90809: Deprecated API Usage - App updates that use UIWebView will no longer be accepted as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://deve<wbr>loper.apple.<wbr>com/document<wbr>ation/uikit/<wbr>uiwebview).
苹果公司规定2020年底项目中不允许存在UIWebView,正常包含UIWebView的文件好排查,但一些SDK中的静态文件包含UIWebView排查起来极其不便。
可以使用终端检索排查
cd 项目目录
grep -r UIWebView .
终端运行结果会罗列出所有带有UIWebView的文件列表,包含.a
文件中对UIWebView的引用
mac@macdeiMac Now_CN_iOS % grep -r UIWebView .
Binary file ./Pods/BaiduMobStatCodeless/BaiduMobStatCodeless/libBaiduMobStat.a matches
./Pods/MJRefresh/README.md: * [UIWebView01-The drop-down refresh](#UIWebView01-The_drop-down_refresh)
./Pods/MJRefresh/README.md:* `UIScrollView`、`UITableView`、`UICollectionView`、`UIWebView`
./Pods/MJRefresh/README.md:## <a id="UIWebView01-The_drop-down_refresh"></a>UIWebView01-The drop-down refresh
grep: ./Pods/tingyunApp/nbs-newlens-ios-2.14.4/tingyunApp.framework/Resources: No such file or directory
Binary file ./Now/Other/Tool/ThreePart/WX/libWeChatSDK.a matches
Binary file ./Now/Other/Tool/ThreePart/WeiBo/libWeiboSDK.a matches
Binary file ./Now/Other/Tool/ThreePart/QQ/TencentOpenAPI.framework/TencentOpenAPI matches
Binary file ./Now/Other/Tool/AliPayManager/AlipaySDK.framework/AlipaySDK matches