-
Notifications
You must be signed in to change notification settings - Fork 134
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
datadog-ci dsyms upload
command doesn't recognize a dSYM file
#2176
Comments
Hey @arslaman 👋, Thanks for reaching out! The error message could be more specific, but it points to this code in From your logs, it seems like you're dealing with a fat dSYM file (one that bundles multiple architectures). To better understand the issue, could you inspect the dSYM file and share the output of the following commands? Both Step 1: Inspect the dSYM with
|
Hey ncreated, sorry, I didn't notice your response until today. Running
Running the lipo command you provided on any of the 2 items give this result:
|
Hi @arslaman 👋 It looks like our tool assumes dSYMs are fat binaries when trying to thin them, which fails. I've filed a ticket so we can fix this. In the meantime, you could try to convert your dSYM to a fat binary by adding a dummy slice to it:
And then try to upload again. |
Describe the bug
I'm trying to manually upload a dsym file generated from a debug build (I set to build
DWARF with dSYM File
for the debug builds in Xcode).When I run
npx @datadog/datadog-ci dsyms upload /Users/ruslan.mansurov/Library/Developer/Xcode/DerivedData/Odyssey-Generated-grmyszfovljfhnfrulrhgmaaqzkh/
it shows:
You can see that it successfully uploaded Lottie and OdysseyUITests dSYM files but not the Odyssey.app.dSYM which I'm interested in.
npx @datadog/datadog-ci --version
shows2.47.0
.When I manually compressed
/Users/ruslan.mansurov/Library/Developer/Xcode/DerivedData/Odyssey-Generated-grmyszfovljfhnfrulrhgmaaqzkh/Build/Products/Debug-iphoneos/Odyssey.app.dSYM
file and uploaded it to Firebase and forced a crash on my iPhone I was able to see the crash and the stacktrace on the Firebase, but for some reasondatadog-ci
doesn't like that dSYM file.Reproduction steps
Run
npx @datadog/datadog-ci dsyms upload
command with a path to a directory containing dSYM files or a path to a compressed dSYM file.SDK logs
Expected behavior
Expected to see something like
Uploading ...
Affected SDK versions
2.47.0
Latest working SDK version
0
Did you confirm if the latest SDK version fixes the bug?
Yes, I'm using the latest version of
datadog-ci
Integration Methods
SPM
Xcode Version
16.2
MacOS Version
14.6.1
Deployment Target
iOS 15
The text was updated successfully, but these errors were encountered: