Skip to content

Conversation

@ilia3546
Copy link

@ilia3546 ilia3546 commented Feb 4, 2025

Issue:

When we use command xcodebuild build-for-testing with Xcode 16 result .xcactivitylog doesn't contains target markers in first 15 records.

As result target grouping doesn't work properly

Solution:

I have increased the number of number of sections for target grouping from 15 to 50 records.

Result:

Now target grouping works properly with xcodebuild from Xcode 16

func groupedByTarget() -> IDEActivityLogSection {
// The only way to know if the structure is flatten is to check the first elements
// for the `(in target 'ABC' from project Project)` string
let firstElements = subSections.prefix(15) // we only analyze up to the first 15 subsections
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's change the comment here too or remove it.

Copy link
Author

Choose a reason for hiding this comment

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

done

fix: Increase the number of section to detect targets to 50
@ilia3546 ilia3546 force-pushed the fix-target-grouping-check branch from aa99403 to 2a4ca96 Compare February 24, 2025 14:23
@AvdLee
Copy link
Collaborator

AvdLee commented Sep 11, 2025

I'm closing this PR since we're not using any limit anymore in master.

@AvdLee AvdLee closed this Sep 11, 2025
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

Successfully merging this pull request may close these issues.

3 participants