Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/44.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 颤振应用程序卡在启动屏幕和lanchscreen上。情节提要未显示图像_Ios_Iphone_Xcode_Flutter_Dart - Fatal编程技术网

Ios 颤振应用程序卡在启动屏幕和lanchscreen上。情节提要未显示图像

Ios 颤振应用程序卡在启动屏幕和lanchscreen上。情节提要未显示图像,ios,iphone,xcode,flutter,dart,Ios,Iphone,Xcode,Flutter,Dart,昨天,我试图在Xcode上为我的Flitter应用程序更改启动屏幕图像。我将新图像拖到assets.xcsets,打开launchscreen.storyboard,图像很大,我试图选择它,然后消失了。在那之后,我试着把删除的资产,并把他们再次,但他们不会再显示。我尝试了很多东西,但都没有成功 这就是我在Android studio上运行应用程序时得到的结果 Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Running

昨天,我试图在Xcode上为我的Flitter应用程序更改启动屏幕图像。我将新图像拖到assets.xcsets,打开launchscreen.storyboard,图像很大,我试图选择它,然后消失了。在那之后,我试着把删除的资产,并把他们再次,但他们不会再显示。我尝试了很多东西,但都没有成功

这就是我在Android studio上运行应用程序时得到的结果

Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running pod install...
Running Xcode build...
Xcode build done.                                           361.2s
[VERBOSE0:callback_cache.cc(133)] Could not parse callback cache, aborting restore
Configuring the default Firebase app...
Configured the default Firebase app __FIRAPP_DEFAULT.

该应用程序在android上运行得很好,但在IOS上,它会卡在启动屏幕上,永远不会进入应用程序

我试过了

flutter update
flutter clean
flutter packages pub cache repair
rm podfile podfile.lock

WidgetsFlutterBinding.ensureInitialized(); //on the main method
重新启动模拟器,删除其内容,并在真实设备上发布应用程序版本

有没有办法解决这个问题,这样我就有了启动屏幕,应用程序就不会卡住

我即将发布该应用程序,因此非常感谢您的帮助

编辑

我通过上大学来解决陷入困境的问题

常规>部署信息>主界面>“它是LaunchScreen,我将其更改为main”


但是,我仍然无法解决第二个问题(Launchscreen中未显示启动图像。storyboard我只看到一个白色屏幕)

请回答问题并接受它,以便关闭它