Flutter开发-iOS报错Trying to embed a platform view but the PrerollContext does not s

2,953 阅读1分钟
Trying to embed a platform view but the PrerollContext does not support embedding

解决方法: Currently apps need to opt-in for the UIViews embedding preview on iOS by adding a boolean property to the Info.plist (key=io.flutter.embedded_views_preview value=YES).

在iOS工程的info.plist文件中添加键值对key=io.flutter.embedded_views_preview value=YES

github引用连接