Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huge html report size #202

Open
Tayphoon opened this issue Feb 5, 2024 · 2 comments
Open

Huge html report size #202

Tayphoon opened this issue Feb 5, 2024 · 2 comments

Comments

@Tayphoon
Copy link

Tayphoon commented Feb 5, 2024

We have an issue when run xcodebuild command with flag -resultBundlePath (xcodebuild does not generate xcactivitylog without flag). Xcode log each step, create folder for example. After we call
xclogparser parse --project <path_to_proj> --reporter html
xclogparser generate html file for each of this steps. As a result xclogparser create 19741 files in directory each has 15kb size. Result report folder has 1.3Gb. If we build project usign Xcode we get small size report.

Could you please tell which flags we can use to reduce xcactivitylog or ignore some steps by xclogparser htm report?

Steps to reproduce:

Build using xcodebuild:
xcodebuild -workspace MyProject.xcworkspace -scheme MyScheme -configuration Debug -destination 'generic/platform=iOS' -resultBundlePath 'resultbundle.result' clean build
Run parse:
xclogparser parse --project MyProject --reporter html --rootOutput Builds/reports
As a result xclogparser create 19741 files in report directory which has 1.3Gb size

Context:

MacOS: Sonoma 14.1.2
Device: MacbookPro M1
Xcode: 15.1
XCLogParser installation: 0.2.38 (Homebrew)

@Tayphoon
Copy link
Author

Tayphoon commented Feb 6, 2024

As i can see in build time line Xcode logs a lot of small operations - make directory. Does xclogparcer has options to skip it and do not create step report file for it?

@Tayphoon
Copy link
Author

Tayphoon commented Mar 13, 2024

This happened only when activity log was created by xcodebuild. When building via Xcode IDE report size 169 mb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant