bitrise-steplib / steps-xcode-build-for-simulator

MIT License
4 stars 18 forks source link

Fix reverting to xcodebuild on xcpretty error #41

Closed lpusok closed 1 year ago

lpusok commented 1 year ago

Checklist

Version

Requires a PATCH version update

Context

Fixes a nil pointer dereference:

[34;1mChecking if output tool (xcpretty) is installed
[0m[33;1mFailed to check if xcpretty is installed, error: rbenv: version `2.7.2' is not installed (set by /Users/vagrant/git/.ruby-version): error: exit status 1
[0mSwitching to xcodebuild for output tool
[33;1mFailed to determine xcpretty version, error: exit status 1
[0mSwitching to xcodebuild for output tool
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x12623b9]

Changes

Investigation details

Decisions