-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
[Build-Fail][iOS][Help] Debug symbol upload failed #420
Comments
Same here |
Thanks for this detailed and helpful bug report, we are looking into this. |
As a workaround, can you check if you may have any zip files lying around (from the project root) that may not belong here and run again? |
@HazAT i will check!thx for your feedback! |
Have the same issue. Sometimes it fails to upload when I run it like "react-native run-ios --configuration Release". At first time it's failed, I run it second time – it worked. Now it fails constantly when I run build through "xcodebuild" tool on Jenkins. The same error as author mentioned. |
Without test files this will be kind of hard to debug. I assume that sentry-cli is not able to parse a ZIP archive located in the symbol folder. I've created getsentry/sentry-cli#320 to get more detailed logging and skip over such files. Is anyone able to quickly patch their sentry-cli executable to test this with a development build? Please let me know which platform and architecture you need, so I can link you to an updated binary. I hope that these errors were just produced by false positives (i.e. we tried to open a non-zip). If not, we'll have to figure out what's wrong with these files and why our ZIP library can't process them. |
I'm able to test this. Just point me out how to properly patch sentry-cli. macOS High Sierra. |
@kyryloz Thanks! Here's how you can test it:
@mitsuhiko We should consider logging such errors to sentry. I'm split about this case in particular, though. |
It was a bit tricky since I needed to https://gist.github.com/kyryloz/dd3e2be9ea216452e4572adb64a12b31 |
Alright, thanks a bunch! Seems like the ZIP is not important and we can release a fix with this tomorrow. According to that log, you should be able to use sentry-cli now. Apart from that, I'm still curious why that ZIP cannot be read by sentry-cli. @kyryloz, mind sending it over to [email protected]? Thanks! |
Thanks a lot @jan-auer. Yeah, I'm able to use sentry until the next I don't mind to send the ZIP, but I didn't manage to find any ZIP in the directory after build is done. |
@kyryloz we'll run a patch release with this some time today. After thinking about this, I assume that this ZIP file is still incomplete and XCode is writing to it at the moment we're trying to read it. So I'd say we just ignore it for now and come back to this if it occurs in a different context, too. Thanks for sharing all the information and taking time to try out the nightly build. You're the best 🌟 |
@jan-auer has this been fixed? I am facing the same error |
@jan-auer thank you, guys, for such a quick reaction. Waiting for the next version of sentry then. |
The fix has been released with version 1.32.3 moments ago. Sorry for the delay, we're currently making changes to our release pipeline. If you still run into issues with ZIP files, let me know and we will reopen this. |
@jan-auer Can this be merged into a new release of this repo? Or how do I update the CLI myself? |
@alexfoxy If you update your npm dependencies it should also update |
OS:
Platform:
Output of
node -v && npm -v && npm ls --prod --depth=0
I have following issue:
Problem building ios: error: Invalid Zip archive: Could not find central directory end. I get this warning:
When I click in show details with (output of sentry-cli --log-level=debug upload-dsym)
Steps to reproduce:
Actual result:
Expected result:
The text was updated successfully, but these errors were encountered: