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

[build-tools] automatially parse Xcode logs in search for 'error: ' logs to make debugging build failures easier for user #471

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

szdziedzic
Copy link
Member

@szdziedzic szdziedzic commented Nov 26, 2024

Why

Talked about it with @lukmccall today. We want to improve our old generic error message which we display when the build fails during the RUN_FASTLANE phase that says The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs. to make it more informative by parsing Xcode logs for the user and displaying found errors in the error message itself so it is easier to find them.

How

Add a new user error handler for XCODE_BUILD_PHASE. If this error handler finds error: ... logs in the Xcode build logs file, it displays them nicely in the user-facing error message.

Similar to: #148

Test Plan

Added automated tests

…ogs to make debugging build failures easier for user
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant