Skip to content

Conversation

@vegaro
Copy link
Member

@vegaro vegaro commented Dec 30, 2025

I kept getting hanging tests in #5959 (example)

After looking into it for a while, I removed the output_style: :basic, from our xcodebuild call and they started to pass. The test_revenuecatui CI jobs were timing out with "Too long with no output" errors. The tests were running correctly, but xcpretty was buffering output differently when using output_style: :basic.

So far what I understand is that in Fastlane's xcodebuild action output_style: :basic passes --no-utf flag to xcpretty, which disables UTF-8 characters (no checkmarks, etc.) and colored output (--no-color). Without output_style (the default) it uses xcpretty with --color flag, which enables colored output with ANSI escape codes.

At the same time I realized that xcodebuild is always using xcpretty and we were installing unnecessary xcbeautify. So I removed the installations from all RevenueCatUI test jobs since the lane uses xcodebuild directly. I tried using scan but looks like scan doesn't suppor SPM correctly.

I tried with a failing test and things are still working fine.

@vegaro vegaro requested a review from a team as a code owner December 30, 2025 12:55
@vegaro vegaro changed the title remove output style Remove output_style from xcodebuild calls in test_revenuecatui Dec 30, 2025
@vegaro vegaro requested a review from a team December 30, 2025 12:55
Copy link
Contributor

@tonidero tonidero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not too familiar with this, but I think it's safe. We can always revert if needed 🚢

@vegaro vegaro merged commit 82e906a into main Dec 30, 2025
13 checks passed
@vegaro vegaro deleted the cesar/fix-xcpretty branch December 30, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants