我们在上传构建时从 no_reply@email.apple.com 收到了这封电子邮件:
We identified one or more issues with a recent delivery for your app, "App Name" 1.0 (5.0). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Best regards,
The App Store Team
我没有在我的项目中使用 UIWebView。我已经更新了所有的 pod。我在工作区中搜索了单词“UIWebView”,但没有找到任何东西。我还在终端中搜索了
grep -r -f "UIWebView".
, 得到 grep: UIWebView.: No such file or directory
.在上传新版本之前我应该做什么?
最佳答案
我解决了一个类似的问题如下:
grep -r "UIWebView" .
(不要忘记命令末尾的空格和点!)在库文件中找到指向 UIWebView 的链接。(大多数带有 UIWebView 的库都有没有 UIWebView 的新更新。)
关于ios - 我们如何在 Project 中找到 UIWebView 并将其替换为 WKWebView?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61561147/