We've been building a project using TCA and then IsoWords structure of modularisation.
Last week the project suddenly stopped rendering any of the test diamonds (on the left of each test function) in the test files inside any of the packages that we have.
This has happened to everyone on the team. We've all been using Xcode 14.2 and I can't find any way to fix it.
I presume that there is something that we have done to cause this in the app. But I'm not sure what it might be?
Sorry this is light on information but I wondered if there is anyone that might be able to point me in the right direction to further debug this?
I've tried the usual stuff of deleting derived data, clean build folder, restart Xcode/laptop. I haven't tried re-cloning the project but a colleague has.
Sadly this is an Xcode bug that started in 14.0. It's gotten a little better in 14.1 and 14.2, but it's still there. It also affects non-TCA applications. For example, here's the test suite for the Standups app in our swiftui-navigation library:
I've noticed that other people online seem to be reporting it too.
Xcode does seem to be particularly inconsistent around managing schemes in project.
Incidentally, I completed nuked our schemes and recreated them and it seems to have solved it for now. So will remember that and keep it in mind for if/when it happens again.
Yes, this is an Xcode bug and it’s incredibly annoying. Even more so is test errors not showing inline. It’s a massive productivity drain. Amazed it hasn’t been fixed by then, Xcode releases seem to be few and far between these days.