- ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted
Dear Developer,
We identified one or more issues with a recent delivery for your app, XXXXXXX. 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
看到上面的這個郵件,很多最近新上線APP的人,恐怕都不陌生。是的,蘋果最近4月30日之后,終于來真格的了,對于使用廢棄的api的APP,不再允許提交到APP Store。
遇到這樣的問題,其實只需要一條指令,逐個更換即可。
cd 工程路徑
grep -r UIWebView
如搜索到三方庫,可以逐個更新三方庫到新版本,就UIWebView而言,我遇到的三方庫有這么幾個:老版本AFN、騰訊SDK、極光分享SDK、微博SDK等。

WechatIMG3.png

WechatIMG4.png