栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Flutter ITMS-90338: Non-public API usage - Frameworks/webview

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Flutter ITMS-90338: Non-public API usage - Frameworks/webview

前言

最近做flutter开发,前几次构建iOS正式包的时候上传IPA到App Store没有问题,这次突然上传不成功,收到邮件如下:

App Store Connect
 
Dear Developer,

We identified one or more issues with a recent delivery for your app, "xxx" x.x.0 (x). Please correct the following issues, then upload again.

ITMS-90338: Non-public API usage - The app references non-public selectors in Frameworks/webview_flutter_wkwebview.framework/webview_flutter_wkwebview: estimatedProgress, initWithFrame:configuration:, isMainFrame, setNavigationDelegate:, userContentController, websiteDataStore. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

Best regards,

The App Store Team

一看觉得是自己的用了苹果私有的方法,然后各种找,发现在.symlinks下面有这些方法。

二、解决方法: 1、删除.symlinks目录

2、执行以下命令
flutter clean
rm -rf ios/Flutter/Flutter.framework
rm -rf ios/.symlinks/plugins/webview_flutter_wkwebview 
flutter build ios --release

重新打包上传即可解决!

END.
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/959021.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号