リリースするためにこれを見ながらAppStoreConnectにArchiveビルドしようとしたら、毎回、UIWebViewを使うんじゃないとメールで怒られるんですが、解決方法が全く分からず途方に暮れていましたが無事に解決したのでここに記しておきます。
メールはこんな感じです。
Dear Developer,
We identified one or more issues with a recent delivery for your app. 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
結論
ずばり、pubspec.ymalにあるflutter_twitterを消すことです。
ここを参考にしました。
PodにあるTwitterKitが悪さをしていたみたいです。
他に試したこと
UIWebViewを探す
Xcodeで以下画像のようにUIWebViewを探して、もし使われていれば消しましょう。僕の場合は探しても見つからないのにUIWebViewを使うなと怒られたので解決するのに時間がかかりました。
clean build folderを実行
XcodeのメニューバーのProduct/clean build folderを実行してみましたが、改善されなかったです。