Flutter app opens, but is stuck on splash-screen

谁说我不能喝 提交于 2019-12-23 07:31:18

问题


When I built my iOS app, it opened perfectly in the simulator on my Macbook. When I publish the app on the itunes store, the app does not work anymore. The splashscreen is shown, but stays on the screen.


回答1:


Solution for me:

1) updated my iOS toolchain with flutter doctor

2) flutter clean

3) flutter build ios --release in the terminal

4) Archive in Xcode




回答2:


I tried various solutions. But finally i found out issue was version of my android studio(ide used for development for flutter, in my case). I updated my version to 3.2.1 and then followed instructions to run in xcode and it worked in my case. Hope it helps!




回答3:


I fix this by remove project_root/ios/Pods/ & project_root/ios/Podfile.lock and run pod install again after flutter clean & flutter build ios --release




回答4:


I face the same issues, and I finally found that the root of the problem is the setting of workspace of xcode,when i change the workspace settings from legacy build system to new build system,the bug disappear . hope can help you.



来源:https://stackoverflow.com/questions/54133443/flutter-app-opens-but-is-stuck-on-splash-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!