当处于调试模式时,应用程序工作正常。但在发布构建期间,它只加载启动屏幕。但当我在发布模式下选择调试可执行文件时,应用程序工作正常。请引导。对不起,格式化了。
苹果拒绝我的应用程序
指南2.1-性能-应用程序完整性
在iPad上查看时,我们发现您的应用程序中存在一个或多个错误。
在Wi-Fi上运行iOS 12.4。
具体来说,您的应用程序只会启动到启动屏幕,没有其他
用户可用的内容。
下一步
要解决此问题,请在设备上运行应用程序以识别
问题,然后修改并重新提交应用程序以供审阅。
最佳答案
您应该在终端中编写以下命令(android studio/visual code)
rm -rf $HOME/Library/Developer/Xcode/DerivedData/*
# destroy entire flutter cache (will be redownloaded and rebuilt)
# rm -rf $HOME/Library/Flutter/bin/cache/*
# sometimes Flutter doesn't recompile the frameworks
rm -rf ios/Flutter/App.framework ios/Flutter/Flutter.framework
# remove the entire pub-cache
rm -rf ~/.pub-cache/*
# now, remove the build directory
rm -rf build
# now remove the .packages file
rm -f .packages
# now remove the plugins directory
rm -rf .flutter-plugins
pushd ios
pod deintegrate
rm -rf Pods Podfile.lock
rm -rf .symlinks/*
popd
flutter packages get