Flutter: Runner.app/Info.plist does not exist problem solution

When using XCode to import a Flutter project, I encountered the following error:

Flutter: Runner.app/Info.plist does not exist. The Flutter “Thin Binary” build phase must run after “Copy Bundle Resources”

Solution:
Open Runner -> Build Phases -> Thin Binary, as shown in the figure below:
insert image description here
Change the script in the figure as follows:

 /bin/sh "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build.

Just re-build it.

.

Guess you like

Origin blog.csdn.net/eieihihi/article/details/115176618