You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Apple M1 Pro环境下Fastlane构建Flutter安卓应用失败求助

Fastlane部署Flutter应用到Firebase Distribution失败(Apple M1 Pro设备)

近期尝试使用fastlane自动化Flutter应用的部署流程,完成所有必要配置后,执行命令fastlane android deploy_beta_staging将预发布版本部署至Firebase Distribution时,持续出现错误(已附错误截图)。经调研,该问题常见于Apple Silicon芯片设备,本人使用的正是Apple M1 Pro机型。已尝试Stack Overflow和GitHub上的相关解决方案,但均未解决问题。

使用的工具版本

  • fastlane 2.214.0(通过brew安装)
  • Flutter 3.10.5
  • Dart 3.0.5
  • 设备:Apple M1 Pro

错误信息

/opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/fastlane-2.214.0/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': \e[31m[!] Shell command exited with exit status 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)

内容的提问来源于stack exchange,提问作者Onyema_Anthony

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.12 20:12:15