So, earlier today I encountered an error whilst trying to run an app in the iOS Simulator, Xcode reporting that the “operation failed with underlying error 4294956467″; cleaning and rebuilding the project didn’t solve the error, and after encountering the error trying to quit Xcode would cause Xcode to crash after reporting an internal error; a search didn’t turn up any solutions, just a mention by another developer who had encountered the error that they were going to try deleting the content of ~/Library/Application Support/iPhone Simulator/, with no follow-up from that developer with regards to whether that solved the error.
I’d rather keep deletion as a last resort, so I searched for similar errors, wondering if there might be a common cause…
…and, apparently, the error is caused by having the iOS Simulator already open in another user; after switching to user X, quitting the iOS Simulator, switching back to user Y, quitting and reopening Xcode and clicking “Build and Run”, I haven’t encounter the error again.
Oh, and I should mention that this was with Xcode 3.2.5 and iOS Simulator 4.2