Incorrect targets presented in HTML report file

Open
#220 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
swift
Domain
cli, tooling

Research direction

Reproduce the issue with the attached POC using xcodebuild and xclogparser parse --project App --reporter html, then trace the HTML report generation and target selection. Done means the Slowest targets section lists only App and FrameworkA, without entries such as "Create build description".

Written by the indexing model from the issue text.

Description

Incorrect targets are presented in HTML report file.

The setup:
image

Steps to reproduce:

  • use attached POC project: ios_app_with_tests.zip
  • remove Xcode Derived Data
  • build the POC app xcodebuild build -scheme App -workspace App.xcworkspace -resultBundlePath /path/to/generate/report
  • generate HTML report by calling xclogparser parse --project App --reporter html
  • open the HTML report file

Actual results:

  • I see targets / modules like "Create build description" in the Slowest targets section of the report
Screenshot 2024-11-26 at 19 08 07

Expected results:

  • I should see only 2 targets, App and FrameworkA, in the Slowest targets section of the report

System Info:

  • macOS 15.1.1
  • Xcode: 16.0
Dominant language
Swift
Stars
1.9k
Forks
138
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MobileNativeFoundation/XCLogParser

All issues in MobileNativeFoundation/XCLogParser

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.