FBSOpenApplicationErrorDomain错误1 [英] FBSOpenApplicationErrorDomain error 1

查看:239
本文介绍了FBSOpenApplicationErrorDomain错误1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Xcode 7中运行从 Swift 1.2 迁移到 Swift 2.0 的iOS应用使用iPhone模拟器(任何),我收到以下错误:

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:


操作无法完成。 (FBSOpenApplicationErrorDomain
错误1。)

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

我已经尝试重置模拟器设置和内容,退出Xcode,清理项目等。

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

推荐答案

将Xcode更新为v7.0后,我遇到了同样的错误。经过几个小时的挣扎,我发现在我的主动方案中有一些空的环境变量设置要传递给Run动作(不知道它为什么存在)。删除此空环境变量可立即解决问题。

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.

这篇关于FBSOpenApplicationErrorDomain错误1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆