Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FBSOpenApplicationErrorDomain error 1

I'm trying to run my iOS app that was migrated from Swift 1.2 to Swift 2.0 in Xcode 7 using iPhone Simulator (any), I'm getting the following error:

The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)

I already tried to reset simulator settings and content, quit Xcode, clean project, etc.

like image 418
Douglas Ferreira Avatar asked Jul 10 '15 21:07

Douglas Ferreira


3 Answers

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.

like image 146
Denis Avatar answered Nov 04 '22 07:11

Denis


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 :)

like image 26
i Code 4 Food Avatar answered Nov 04 '22 07:11

i Code 4 Food


  1. Simulator->Reset Content and Settings
  2. Quit Simulator
  3. Run the test cases again
like image 8
webcpu Avatar answered Nov 04 '22 08:11

webcpu