Part of the challenge with managing energy and motivation in programming is that sometimes, you can be on a roll getting things done, and suddenly your tools or environment just break spectacularly and derail you.

Like if you’re a carpenter, in the middle of building a table, and all of a sudden the hammer disappears from your hand and someone’s like “There’s no table, what are you talking about” and it’s still RIGHT THERE and what the heck happened to the hammer?!

That was my last 2 hours. 🤣

And the solution was that you didn’t close the box of nails over there on the shelf from yesterday. And you’re like BUT WHY DID THAT MAKE THE HAMMER DISAPPEAR AND THE TABLE’S ENTIRE EXISTENCE GET DENIED AND WHY DID IT WORK FOR HALF OF THIS MORNING and there’s just no satisfying answer that you will ever get
That's programming.

Anyway if you ever get a wall of Xcode "Missing package product" errors, and no amount of cleaning/deleting/refreshing anything from the blog posts and AI agents actually fixes the problem…

It might be that one of those package’s Package.swift files got deleted.

@marcoarment curious if you tried asking Claude to identify the problem.

@kevindente I sure did.

It was not helpful in this case.