简体   繁体   English

Flutter iOS Xcode 中的构建失败

[英]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 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.我收到此构建错误,无法弄清楚为什么它不会 go 消失。 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 Mac 配置详情

Xcode error run into real device Xcode 错误跑进真机

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打开 xcode 项目
  • Left side runner左侧赛跑者
  • Top info tab顶部信息选项卡
  • Configurations配置
  • Change configurations for debug更改调试配置

The image is below for further reference image图片如下以供进一步参考图片

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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