Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#428 12 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
66/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, firebase, macos, swift
Ambito
cli, desktop-dev

Direzione di ricerca

Riproduci il problema in packages/firebase_crashlytics/firebase_crashlytics/example abilitando Swift Package Manager ed eseguendo il target macOS. Confronta il percorso Build/Products/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run che causa il problema con il percorso SourcePackages/checkouts riportato, quindi verifica che i dSYMs vengano caricati correttamente senza l’errore di file mancante.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Dart
Stelle
194
Fork
74
Merge medio
1g 22h
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di invertase/flutterfire_cli

Tutte le issue di invertase/flutterfire_cli

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.