Douglas Ferreira Douglas Ferreira - 1 month ago 15
iOS Question

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.

Answer

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.