Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[bug]: upload symbols fails with Flutter 3.44 because the SourcePackages have moved

Đang mở
#443 16 bình luận 12 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, firebase
Lĩnh vực
cli

Hướng nghiên cứu

Tái hiện lỗi với một dự án Flutter 3.44 sạch, sau đó xác định điểm vào gọi SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run của Firebase Crashlytics và phân giải DERIVED_DATA_PATH. Kiểm tra việc xử lý đường dẫn đối chiếu với vị trí của BUILD_ROOT và xác nhận rằng một bản build iOS tải lên các symbol thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

1.3.2

Firebase Tools version

15.18.0

Flutter Doctor Output

[✓] Flutter (Channel stable, 3.44.0, on macOS 26.5 25F71 darwin-arm64, locale de-DE) [301ms]
• Flutter version 3.44.0 on channel stable at /Users/xxx/sdk/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 559ffa3f75 (6 days ago), 2026-05-15 14:13:13 -0700
• Engine revision 4c525dac5e
• Dart version 3.12.0
• DevTools version 2.57.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets,
enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [1.360ms]
• Android SDK at /Users/xxx/sdk/android
• Emulator version 36.5.11.0 (build_id 15261927) (CL:N/A)
• Platform android-36.1, build-tools 36.1.0
• ANDROID_HOME = /Users/xxx/sdk/android
• ANDROID_SDK_ROOT = /Users/xxx/sdk/android
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 21.0.10+-117844308-b1163.108)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 26.4.1) [1.508ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17E202
• CocoaPods version 1.16.2

[✓] Chrome - develop for the web [4ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

• No issues found!

Description

The build fails because with flutter 3.44, the SourcePackages are no longer at DERIVED_DATA_PATH, but at BUILD_ROOT.

Trying to build a clean project produces the following error:

Unhandled exception:
    ProcessException: No such file or directory
      Command:
      /Users/XXX/Library/Developer/Xcode/DerivedData/Runner-asnmalsvsfbtamfmomnltzgnmkzh/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run --validate --flutter-project .../app_id_file.json

Checking the derived data directory reveals there is no SourcePackages directory:

Image

However, checking the build/ios dir reveales it has moved there:

Image
Steps to reproduce
  1. Create a new flutter project with firebase_crashlytics or run flutter clean on an existing one (as otherwise the SourcePackages might still exist from previous builds)
  2. Build the project.
Expected behavior

It uploads the symbols correctly.

Screenshots

See Description

Additional context and comments

No response

Ngôn ngữ chính
Dart
Star
194
Fork
74
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của invertase/flutterfire_cli

Tất cả issue của invertase/flutterfire_cli

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.