Flutter: Runner.app/Info.plist d
2021-04-01 本文已影响0人
红红宝宝
flutter create xxapp后,打开运行工程,报错如下:
Flutter: Runner.app/Info.plist does not exist. The Flutter “Thin Binary” build phase must run after “Copy Bundle Resources”,
解决方法:
打开 Runner -> Build Phases -> Thin Binary, 如下图所示:
将图中的脚本更改如下:
/bin/sh "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build.
重新Build一下就可以了。