I’m building and running on an iPhone. It compiles fine, it installs fine, it tries to run- and then fails, saying it can’t find a file in the derived data folder. I can then manually launch the app on the iPhone with no problems, but xCode doesn’t recognize that it’s running.
I’ve found all these possible things that could cause this and ways to hopefully make it go away, usually including throwing out the contents of the DerivedData folder, but it still happens again ALL THE *&^%$#@ TIME and I don’t really know what I’m doing to finally get it to go away when it does. It seems like I can build and run a few times with the debugger connected and then it will start giving this stupid error again. Why, xCode? Why?