简体   繁体   中英

Flutter iOS build failure in Xcode

I am using a mac to build the Flutter app using the real device iPhone X (14.7), In android studio application build in iOS but the same application field is in Xcode. I get this build error and can't figure out why it won't go away. I am missing a script of some sort. Does anybody else know why?

> /bin/sh: /packages/flutter_tools/bin/xcode_backend.sh: No such file or
> directory Command PhaseScriptExecution failed with a nonzero exit code

More Details

Mac configuration deatils

Xcode error run into real device

Project's 'Build Phases' screenshot

after a lot of builds around, I set these two settings and the build run on to my physical device.

  • Open xcode project
  • Left side runner
  • Top info tab
  • Configurations
  • Change configurations for debug

The image is below for further reference image

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM