美文网首页
flutter项目异常汇总

flutter项目异常汇总

作者: 木马不在转 | 来源:发表于2020-02-28 14:26 被阅读0次

一.ITMS-90338: Non-public API usage

错误提示信息:

ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _ptrace. 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://devel<wbr>oper.apple.c<wbr>om/support/t<wbr>echnical/

解决方案

先启动终端 cd到项目中
1、flutter的sdk1.9以下
flutter clean
flutter build ios --release
open xcode
2、flutter的sdk1.9以上
flutter clean
rm -rf ios/Flutter/Flutter.framework
flutter build ios --release
open xcode

相关文章

网友评论

      本文标题:flutter项目异常汇总

      本文链接:https://www.haomeiwen.com/subject/wlhlhhtx.html