iOS 检测项目中包含UIWebView的文件及静态库

iOS 检测项目中包含UIWebView的文件及静态库

IOS小彩虹2021-08-17 5:56:01130A+A-

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://developer.apple.com/documentation/uikit/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

点击这里复制本文地址 以上内容由权冠洲的博客整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!

支持Ctrl+Enter提交

联系我们| 本站介绍| 留言建议 | 交换友链 | 域名展示
本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除

权冠洲的博客 © All Rights Reserved.  Copyright quanguanzhou.top All Rights Reserved
苏公网安备 32030302000848号   苏ICP备20033101号-1
本网站由 提供CDN/云存储服务

联系我们