Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upload mapping files for Android and dSYM files for iOS #258

Open
JDongKhan opened this issue Sep 4, 2024 · 3 comments
Open

Cannot upload mapping files for Android and dSYM files for iOS #258

JDongKhan opened this issue Sep 4, 2024 · 3 comments

Comments

@JDongKhan
Copy link

Hi, i cannot find the mapping file on the sentry.io website.

Am I missing any configuration?

It will cause the Android stack to be unable to deobfuscation.

Image

Minimum code:https://github.com/JDongKhan/flutter_sentry_demo

sentry:
  upload_debug_symbols: true
  upload_source_maps: true
  upload_sources: false
  project: flutter_test
  org: tc-tc
  auth_token: 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
  #url:  https://sentry.io
  commits: false
  ignore_missing: true
  wait_for_processing: true
  log_level: info

1、run flutter build apk --obfuscate --split-debug-info=v2
2、run flutter build iOS --obfuscate --split-debug-info=v1
3、run flutter packages pub run sentry_dart_plugin

[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 0% reading config values..        
retrieving config from pubspec.yaml

Downloading Sentry CLI 2.27.0 from https://downloads.sentry-cdn.com/sentry-cli/2.27.0/sentry-cli-Darwin-universal to .dart_tool/pub/bin/sentry_dart_plugin/sentry-cli

Sentry CLI binary checksum verification passed successfully (hash: 8693527282890285f55d9b55414905e8621dd788ad3ae4c85175b84e8eeb6a04).

Sentry CLI downloaded successfully.
☑ reading config values                                                             
☑ validating config values                                                             
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 18% uploading debug symbols..                                
includeSources is disabled, not uploading sources.

INFO    2024-09-04 14:24:10.818197 +08:00 sentry-cli was invoked with the following command line: "/Users/jd/Documents/GitHub/flutter_sentry_demo/.dart_tool/pub/bin/sentry_dart_plugin/sentry-cli" "--auth-token" "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" "--log-level" "info" "debug-files" "upload" "--org" "tc-tc" "--project" "flutter_test" "/Users/jd/Documents/GitHub/flutter_sentry_demo" "--wait"
  INFO    2024-09-04 14:24:10.818577 +08:00 Issuing a command for Organization: tc-tc Project: flutter_test

> Found 124 debug information files

> Prepared debug information files for upload

> Uploaded 40 missing debug information files

> File processing complete:

       OK bbc0f20e-8dc1-3b3a-83cd-ce72fca2c9c5 (App; arm64 library)
       OK bbc0f20e-8dc1-3b3a-83cd-ce72fca2c9c5 (App; arm64 library)
       OK bbc0f20e-8dc1-3b3a-83cd-ce72fca2c9c5 (App; arm64 debug companion)
       OK 4c4c441b-5555-3144-a195-4ed41e4451ee (Flutter; arm64 library)
       OK e8e0bb74-cbf3-3775-aef3-74a38ca5115a (Runner; arm64 debug companion)
       OK e8e0bb74-cbf3-3775-aef3-74a38ca5115a (Runner; arm64 executable)
       OK 9f2ba5a2-7adc-33f8-98a1-c05b4c28f981 (Sentry; arm64 library)
       OK 9f2ba5a2-7adc-33f8-98a1-c05b4c28f981 (Sentry; arm64 debug companion)
       OK 7a2295e8-b0ac-30f5-7e72-1d91a821bb84 (app.android-arm.symbols; arm debug companion)
       OK 7a2295e8-48ac-b92a-7e72-1d91cbb2c2df (app.android-arm.symbols; arm debug companion)
       OK e1ac66b8-4a45-1162-f7da-e5b78421aaf2 (app.android-arm64.symbols; arm64 debug companion)
       OK e1ac66b8-e5bd-d53f-f7da-e5b7cf06accf (app.android-arm64.symbols; arm64 debug companion)
       OK 706984ec-df2f-638a-5ad6-8741d8c6b8f0 (app.android-x64.symbols; x86_64 debug companion)
       OK 706984ec-9a4a-eeca-5ad6-8741489ca314 (app.android-x64.symbols; x86_64 debug companion)
       OK 706984ec-9a4a-eeca-5ad6-8741489ca314 (app.so; x86_64 library)
       OK 706984ec-df2f-638a-5ad6-8741d8c6b8f0 (app.so; x86_64 library)
       OK 7a2295e8-48ac-b92a-7e72-1d91cbb2c2df (app.so; arm library)
       OK 7a2295e8-b0ac-30f5-7e72-1d91a821bb84 (app.so; arm library)
       OK e1ac66b8-4a45-1162-f7da-e5b78421aaf2 (app.so; arm64 library)
       OK e1ac66b8-e5bd-d53f-f7da-e5b7cf06accf (app.so; arm64 library)
       OK adced16b-c1fe-3430-992f-2babb728a967 (libswiftAVFoundation.dylib; arm64 library)
       OK ad0cad3b-1b51-3327-8644-8be1ff1f0ae9 (libswiftCore.dylib; arm64 library)
       OK e4b0cd52-10f6-32f3-9855-e87134f2d030 (libswiftCoreAudio.dylib; arm64 library)
       OK 25114ae1-4ae9-3dbc-b3de-7f9f9a5b45d2 (libswiftCoreFoundation.dylib; arm64 library)
       OK dc548ef9-00f9-3a15-b5db-05e39d9b5c5b (libswiftCoreGraphics.dylib; arm64 library)
       OK 62f04b7b-b664-3893-b12d-9a999cc44faf (libswiftCoreImage.dylib; arm64 library)
       OK 2989001b-87a1-36f3-80ce-9a9bc6a5e194 (libswiftCoreMedia.dylib; arm64 library)
       OK 999c2967-8a06-3cd5-82d7-d156e9440a0c (libswiftDarwin.dylib; arm64 library)
       OK 9fcba8ed-d8fd-3c16-9740-5e2a31f3e959 (libswiftDispatch.dylib; arm64 library)
       OK 9702769f-1f06-3001-ab75-5ad38e1f7d66 (libswiftFoundation.dylib; arm64 library)
       OK c466f0fe-15c1-33ee-bd5b-395407bd9982 (libswiftMetal.dylib; arm64 library)
       OK 1180ac10-0a92-39db-8497-2b6d4217b8eb (libswiftObjectiveC.dylib; arm64 library)
       OK c22bc3e2-45df-3516-95f3-31d55e664a89 (libswiftQuartzCore.dylib; arm64 library)
       OK 107c11f3-dd62-3fb4-9c8a-c74bd56c2abc (libswiftUIKit.dylib; arm64 library)
       OK 4a3b0c78-ffb3-358b-9a11-9d40c6999ffd (libswiftos.dylib; arm64 library)
       OK 49721126-807a-3b9d-9c95-06ff9b8e8fe3 (libswiftsimd.dylib; arm64 library)
       OK e3c24cf4-feb2-3e49-89ef-89f78aaa5843 (package_info_plus; arm64 debug companion)
       OK e3c24cf4-feb2-3e49-89ef-89f78aaa5843 (package_info_plus; arm64 library)
       OK efcd2c75-2983-30dc-bf8e-56fd30055178 (sentry_flutter; arm64 debug companion)
       OK efcd2c75-2983-30dc-bf8e-56fd30055178 (sentry_flutter; arm64 library)
☑ uploading debug symbols                                                             

INFO    2024-09-04 14:24:50.668928 +08:00 sentry-cli was invoked with the following command line: "/Users/jd/Documents/GitHub/flutter_sentry_demo/.dart_tool/pub/bin/sentry_dart_plugin/sentry-cli" "--auth-token" "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" "--log-level" "info" "releases" "--org" "tc-tc" "--project" "flutter_test" "new" "flutter_sentry_demo@1.0.9+1"

Created release flutter_sentry_demo@1.0.9+1
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 27% uploading source maps..                               
INFO    2024-09-04 14:24:54.556057 +08:00 sentry-cli was invoked with the following command line: "/Users/jd/Documents/GitHub/flutter_sentry_demo/.dart_tool/pub/bin/sentry_dart_plugin/sentry-cli" "--auth-token" "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" "--log-level" "info" "releases" "--org" "tc-tc" "--project" "flutter_test" "files" "flutter_sentry_demo@1.0.9+1" "upload-sourcemaps" "/Users/jd/Documents/GitHub/flutter_sentry_demo/build/web" "--ext" "map" "--ext" "js" "--dist" "1" "--wait"

> Rewriting sources
> Adding source map references

> Nothing to upload

INFO    2024-09-04 14:24:57.871864 +08:00 sentry-cli was invoked with the following command line: "/Users/jd/Documents/GitHub/flutter_sentry_demo/.dart_tool/pub/bin/sentry_dart_plugin/sentry-cli" "--auth-token" "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" "--log-level" "info" "releases" "--org" "tc-tc" "--project" "flutter_test" "files" "flutter_sentry_demo@1.0.9+1" "upload-sourcemaps" "/Users/jd/Documents/GitHub/flutter_sentry_demo" "--ext" "dart" "--dist" "1" "--wait"

> Found 2 files
> Analyzing 2 sources

> Rewriting sources
> Adding source map references

> Bundled 2 files for upload
> Bundle ID: 69f08063-5e0e-5da7-ae1b-01b6f6702863

> Uploaded files to Sentry

> File processing complete
> Organization: tc-tc
> Project: flutter_test
> Release: flutter_sentry_demo@1.0.9+1
> Dist: 1
> Upload type: artifact bundle

Source Map Upload Report
  Scripts
    ~/lib/main.dart
    ~/test/widget_test.dart
☑ uploading source maps                                                             

Commit integration is disabled.

INFO    2024-09-04 14:25:02.465174 +08:00 sentry-cli was invoked with the following command line: "/Users/jd/Documents/GitHub/flutter_sentry_demo/.dart_tool/pub/bin/sentry_dart_plugin/sentry-cli" "--auth-token" "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" "--log-level" "info" "releases" "--org" "tc-tc" "--project" "flutter_test" "finalize" "flutter_sentry_demo@1.0.9+1"

Finalized release flutter_sentry_demo@1.0.9+1

@buenaflor
Copy link
Contributor

hi, which version of the plugin are you using?

@buenaflor buenaflor moved this from Needs Discussion to Needs More Information in Mobile & Cross Platform SDK Sep 12, 2024
@JDongKhan
Copy link
Author

@buenaflor

sentry_dart_plugin: 2.1.0

Minimum code:https://github.com/JDongKhan/flutter_sentry_demo

@buenaflor
Copy link
Contributor

do you also use proguard? your example looks like a native stacktrace to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs More Information
Development

No branches or pull requests

2 participants