We have a few projects that have the same prefix. For example our main project is Foo. But we also have some other smaller modules that could be something like foo-bar or FooUtils.
When calling
xclogparser parse --project Foo --reporter json
Or when using as a library, setting logOption.projectName = "Foo", we find that we get the results of foo-bar in the event foo-bar was built after Foo.
This is caused by a couple of things. First is that in findDerivedDataForProject the directory name generation is based on whether or not the directories in derived data start with projectName. The second is that this testing is done with lowercase versions of both the projectName and the directory name in derived data.
I would expect an exact name match.
Optionally so as to not break behavior, perhaps a --strictNames flag or something similar could be used.
We have a few projects that have the same prefix. For example our main project is
Foo
. But we also have some other smaller modules that could be something likefoo-bar
orFooUtils
.When calling
xclogparser parse --project Foo --reporter json
Or when using as a library, setting
logOption.projectName = "Foo"
, we find that we get the results offoo-bar
in the eventfoo-bar
was built afterFoo
.This is caused by a couple of things. First is that in
findDerivedDataForProject
the directory name generation is based on whether or not the directories in derived data start withprojectName
. The second is that this testing is done with lowercase versions of both theprojectName
and the directory name in derived data.I would expect an exact name match.
Optionally so as to not break behavior, perhaps a
--strictNames
flag or something similar could be used.