-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Sentry CLI Xcode build phase fails silently #1915
Comments
Thank you for reporting! It would be extremely helpful to get the logs from the background, though. Perhaps @krystofwoldrich would know how you can obtain the logs, since he was able to include them on #1895 |
@lionel-alves Thank you for testing it with the older CLI version.
But you should be able to find the file in |
@lionel-alves We just released version Please share the background logs with us, so we can investigate your issue. |
@szokeasaurusrex @krystofwoldrich Here is what I am getting:
FYI the file is created and deleted very quickly after, I had to use fswatch to get those logs. |
Hey @lionel-alves we had an issue recently where someone received a similar "Operation not permitted" error message. The root cause of the issue was that the In your case, it might be that the Xcode sandbox is blocking access to the DSYM files. Could you try adding these to the run script's input files list, as I describe in this comment (of course, replacing |
Hey @szokeasaurusrex, thanks for your feedback but I didn't use
|
@lionel-alves, yes, I understand that you are not using As I additionally already stated in my previous comment, your problem is most likely going to be solved by adding the DSYM files to the Xcode run script's input file lists, similar to how I suggested adding the Hope that helps! Please let me know if you are still confused or have any other struggles |
Disabling |
Environment
What version of the CLI and what OS are you running?
macOS 14.1
Xcode 15.2 (15C500b)
Sentry CLI 2.26.0
Steps to Reproduce
Related to #1895
Execute the following command in the run build script build phase.
I was able to reproduce this issue en 2.26.0 and 2.21.3 as well.
Expected Result
The command should finish uploading debug files in the background.
Actual Result
The command stopped after going to the background without any error, no files were uploaded.
Logs
When filing a bug report, please attach debug logs, either by using
--log-level=debug
flag orSENTRY_LOG_LEVEL=debug
environment variable.Before going to the background:
Not sure how to get the logs after that.
The text was updated successfully, but these errors were encountered: