gems fastlane 2.201.0
2.201.0 Enable xcbeautify and remove dependency on xcpretty

latest releases: 2.225.0, 2.224.0, 2.223.1...
2 years ago
  • [scan][gym][snapshot] Remove XCPretty dependency and add xcbeautify as an option (#19629) via Josh Holtz

High Level Notes

  • scan no longer relies on xcpretty for JUnit output or to determine success or failure
  • trainer has now been moved inside of fastlane and is no longer needed as a plugin
    • Please remove fastlane-plugin-trainer from your Gemfile or Pluginfile
  • Added xcodebuild_formatter option to scan, gym, and snapshot

Detailed Notes

  • scan no longer relies on xcpretty for JUnit output or to determine success or failure
    • trainer has now been moved inside of fastlane and is used to determine determine success and failure of scan
    • Note: junit will be made by xcpretty is using xcpretty, otherwise it will be made with trainer
    • Note: html will only be made if using xcpretty
  • scan's option for number_of_retries now uses Xcode 13's retry tests
    • In Xcode 12 and under it will still use fastlane's implementation to try to only rerun tests that have failed
  • Added xcodebuild_formatter option to scan, gym, and snapshot
    • Defaults to xcbeautify if installed
      • But will default back to xcpretty if any "xcpretty" specific options are set (ex: xcpretty_formatter, xcpretty_args)
    • Otherwise falls back to xcpretty
    • You can also pass anything for xcodebuild to pipe to like xcodebuild_formatter: "/path/to/other/xcbeautify"
    • For no formatting, set the formatter to an empty string like `xcodebuild_formatter: ""'
  • Added new option to scan for output_remove_retry_attempts
    • Removes the count and any retry attempts from junit report and scan test results table
  • Added migration error if using fastlane-plugin-trainer and tells user to remove it

View more info on Xcode Formatters

Don't miss a new fastlane release

NewReleases is sending notifications on new releases.