[bug]: upload symbols fail on macos when Swift Package Manager is enabled
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 66/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- 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 内容生成。
描述
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.
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
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
invertase/flutterfire_cli 的其他 Issue
-
Needs Attention Stale triage
难度 4/5 3-5 天 新手友好度 52/100
invertase/flutterfire_cli#450 · 5 条评论 ·
-
bug Needs Attention triage
难度 3/5 1-2 天 新手友好度 68/100
invertase/flutterfire_cli#443 · 16 条评论 · 12 个 reaction ·
-
blocked: customer-response bug enhancement keep open
难度 4/5 3-5 天 新手友好度 45/100
invertase/flutterfire_cli#403 · 1 条评论 · 1 个 reaction ·
-
blocked: customer-response bug keep open
难度 3/5 1-2 天 新手友好度 42/100
invertase/flutterfire_cli#353 · 6 条评论 ·
-
blocked: customer-response bug keep open triage
难度 3/5 1-2 天 新手友好度 45/100
invertase/flutterfire_cli#341 · 7 条评论 · 1 个 reaction ·
查看 invertase/flutterfire_cli 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 92/100
flame-engine/flame#4067 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
google/skills_lint.dart#58 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
nvim-flutter/flutter-tools.nvim#557 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
lugassawan/swe-workbench#755 ·
维护者通常 1 天内回复