It shouldn't be a rocket science rollercoaster to sign an iOS app built and provisioned for the simulator, to run in the iOS simulator. And yet, here we are again.
My solution for this is usually to just start a new workspace, reattach pods and code to it, and sweep the mess under the rug. But uggghhhhh... that's still a mess! Build reproduceability is dead on this platform.