Sometimes, about 2 times out of 10, when I run my application through Xcode, I get this error:
Internal inconsistency error (didStartTask): targetID (174) not found in _activeTargets.
Internal inconsistency error (didEndTask): '12' missing from _activeTasks.
This error is reproduced using Xcode 14.x, 15.x versions.
This error can be fixed by cleaning up the project and rebuilding it. I found thread on forums.swift.org, but it has no solution.
Judging by the thread, the problem may be in SPM and incorrect connection of dependencies
Anyone have a solution?
I am not at all sure if this will help, but I had a similar message today a bunch of times and found this question, then tried Product -> Clean Build Folder and that cleared it up for the rest of the day. Seems like it had to do with something I changed on an observable value and something didn't get rebuilt fully.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With