FBSOpenApplicationErrorDomain error 1
Solution 1:
I had the same error after updating Xcode to v7.0. After few hours struggling, I found that there was some empty environment variable setup to be passed for Run action in my active scheme (have no idea why it was there). Removing this empty environment variable resolved the issue immediately.
Solution 2:
This error happens when a previous run of the app is still alive in the background, even if you clicked "Stop" in Xcode. Try manually killing the app in simulator itself: cmd+shift+H twice to open up running apps, drag up your app to kill it. Note cmd+shift+H is the shortcut to go to homescreen. Then start the new run and it should work fine :)
Solution 3:
- Simulator->Reset Content and Settings
- Quit Simulator
- Run the test cases again
Solution 4:
In a tvOS app, you can go to simulator and delete the app in there and then re-run the program.