热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

无法在模拟器XCode6.0中运行应用程序。-UnabletorunappinSimulatorXCode6.0

AftermigratingfromXCode5.0toXCode6.0theprojectfailstorunwiththefollowingerror.在从XCo

After migrating from XCode 5.0 to XCode 6.0 the project fails to run with the following error.

在从XCode 5.0迁移到XCode 6.0之后,项目无法运行,出现以下错误。

An error was encountered while running (Domain = FBSOpenApplicationErrorDomain,
Code = 4)

Any suggestions?

有什么建议吗?

Screenshot

4 个解决方案

#1


52  

iOS Simulator -> Reset Contents and Settings

iOS模拟器->重置内容和设置。

Worked for me!

为我工作!

iOS Simulator -> Reset Contents and Settings... -> Reset

iOS模拟器->重置内容和设置…- >重置

enter image description here

referenced from: http://qiita.com/tajihiro/items/f6f50b56162c93d25c90

引用:http://qiita.com/tajihiro/items/f6f50b56162c93d25c90

#2


1  

I had this error too. My solution was product->clean

我也有这个错误。我的解决方案是产品- >干净

#3


0  

As described in my answer to the queation that this is a duplicate of, this error is one manifestation of an install/launch race condition bug. The suggestions you find on this forum suggesting that you should "Erase Contents & Settings" or "Clean" from within Xcode are not correct.

正如我在回答问题时所描述的,这是一个重复的错误,这个错误是安装/启动竞态条件错误的表现之一。您在这个论坛上发现的建议您应该从Xcode中“删除内容和设置”或“清除”的建议是不正确的。

You simply have to try again and hope you don't loose the race on the next launch. Alternatively, you can just "finger launch" it from within the booted simulator.

你只需要再试一次,希望下次发射时不要错过比赛。或者,您可以在启动模拟器中“手指启动”它。

#4


-2  

I had this error.

我有这个错误。

I got it while using Xcode 6 on Yosemite.

我在Yosemite上使用Xcode 6时得到的。

My solution was to download and install Xcode 6.1 for Yosemite. This solved my issue.

我的解决方案是为Yosemite下载并安装Xcode 6.1。这解决了我的问题。

  • David
  • 大卫

推荐阅读
author-avatar
另一种Xing福_290
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有