flutter项目异常汇总

一.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://developer.apple.com/support/technical/

解决方案

先启动终端 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项目异常汇总)