Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[bug]: upload symbols fail on macos when Swift Package Manager is enabled

未关闭
#428 12 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
66/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
dart, firebase, macos, swift
领域
cli, desktop-dev

调研方向

启用 Swift Package Manager 并运行 macOS 目标,在 packages/firebase_crashlytics/firebase_crashlytics/example 中重现该失败。将失败的 Build/Products/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run 路径与报告中的 SourcePackages/checkouts 路径进行比较,然后验证 dSYMs 是否能够成功上传且不再出现文件缺失错误。

由索引模型根据 Issue 内容生成。

描述

bug Needs Attention triage
Is there an existing issue for this?
  • I have searched the existing issues.
CLI Version

1.3.1

Firebase Tools version

13.29.1

Flutter Doctor Output
[✓] Flutter (Channel stable, 3.41.4, on macOS 15.7.3 24G419 darwin-arm64, locale en-CA) [676ms]
    • Flutter version 3.41.4 on channel stable at ***
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff37bef603 (6 days ago), 2026-03-03 16:03:22 -0800
    • Engine revision e4b8dca3f1
    • Dart version 3.11.1
    • DevTools version 2.54.1
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, no-cli-animations,
      enable-native-assets, enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

[✓] Xcode - develop for iOS and macOS (Xcode 26.2) [1,264ms]
    • Xcode at /Applications/Xcode_26.2.app/Contents/Developer
    • Build 17C52
    • CocoaPods version 1.16.2

[✓] Connected device (3 available) [6.9s]
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 15.7.3 24G419 darwin-arm64

[✓] Network resources [234ms]
    • All expected network resources are available.

• No issues found!
Description

After enabling the Swift Package Manager on MacOS using following config in pubspec.yaml

flutter:
  config:
    enable-swift-package-manager: true

The macos target build is failing with the following error:

ProcessException: No such file or directory
  Command: /Users/***/Documents/Projects/***/build/macos/Build/Products/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run --validate --flutter-project /Users/***/Documents/Projects/***/.dart_tool/flutterfire/platforms/macos/default/***/app_id_file.json

This does not seem to be the same as #392 because I see the run script is actually located at:

/Users/***/Documents/Projects/***/build/macos/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run
Steps to reproduce

You should see the same issue with firebase_crashlytics example app, just enable swift package manager and run macos target.

https://github.com/firebase/flutterfire/tree/main/packages/firebase_crashlytics/firebase_crashlytics/example

Expected behavior

Should be able to upload dSYMs when building macos target

Screenshots

No response

Additional context and comments

No response

主要语言
Dart
星标
194
派生
74
平均合并
1 天 22 小时
30 天内合并 PR
6

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

invertase/flutterfire_cli 的其他 Issue

查看 invertase/flutterfire_cli 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。