Some xcode-project actions use xcpretty to format xcodebuild logs by default. Currently it is not possible to use those actions if xcpretty is missing on the system without specifying --disable-xcpretty option. This is because the actions would automatically apply formatter without checking if it is available, and consequently crash.
Check if xcpretty is available on the machine where the action is executed any only then use it for formatting (unless it is disabled). Otherwise show an appropriate warning with xcpretty installation instructions and move on with the action without formatting xcodebuild logs.
Some
xcode-project
actions use xcpretty to formatxcodebuild
logs by default. Currently it is not possible to use those actions ifxcpretty
is missing on the system without specifying--disable-xcpretty
option. This is because the actions would automatically apply formatter without checking if it is available, and consequently crash.Check if
xcpretty
is available on the machine where the action is executed any only then use it for formatting (unless it is disabled). Otherwise show an appropriate warning withxcpretty
installation instructions and move on with the action without formattingxcodebuild
logs.Updated actions:
xcode-project clean
xcode-project build-ipa
xcode-project run-tests