我正在开发一款在安卓平台上运行完美的应用。后来我买了一台Mac电脑,进行了安装和设置。我尝试运行该应用的iOS版本。它能够在模拟器上安装,启动加载,但是却只显示一个空白屏幕。
以下是我从Xcode获取的日志:
2022-09-16 10:04:30.401305-0700 Runner[35230:248996] Metal API Validation Enabled
2022-09-16 10:04:30.516910-0700 Runner[35230:248996] GrMtlCommandBuffer: WARNING: Creating MTLCommandBuffer while in background.
2022-09-16 10:04:30.518412-0700 Runner[35230:248996] GrMtlCommandBuffer: WARNING: Creating MTLCommandBuffer while in background.
2022-09-16 10:04:30.577497-0700 Runner[35230:249203] flutter: The Dart VM service is listening on http://127.0.0.1:61436/iHZJYa2Yv5g=/
2022-09-16 10:05:06.096822-0700 Runner[35230:249183] [boringssl] boringssl_metrics_log_metric_block_invoke(153) Failed to log metrics
以下是它的显示效果: