Content Deep Dive
Pretty and smart Xcode archive step logs
Blog post from Bitrise
Post Details
Company
Date Published
Author
Anna Bátki
Word Count
262
Language
English
Hacker News Points
-
Source URL
Summary
xcpretty` is used to prettify the output of Xcode build logs, but sometimes the exact error can't be determined from the prettified output. To address this, new Xcode steps have been implemented to print the last 10 lines of the build log into the standard output if a step fails and `xcpretty` is used as the output tool. The raw log file remains available for further inspection. The updated log format provides more detailed information about the error, including a check dependencies section that highlights specific issues. The log file's location and full path are also provided in environment variables.