“Internal Error File: /SourceCache/IndigoDebuggingPlugin/IndigoDebuggingPlugin31/IndigoDevice/XCiPhoneSimulatorDevice.m Line: 265 Object: Method: _launchSimulatedExecutable: Assertion failed: nil == _currentSimulatorSession"

从svn checkout下来的工程项目打开编译运行出现如下错误:

"Internal Error
File: /SourceCache/IndigoDebuggingPlugin/IndigoDebuggingPlugin-31/IndigoDevice/XCiPhoneSimulatorDevice.m
Line: 265
Object:
Method: _launchSimulatedExecutable:

Assertion failed: nil == _currentSimulatorSession"

解决办法:

1. 退出 Xcode 和 iphone simulator 。

2. 找到文件夹:/Users/(username)/Library/Application Support/  删除其下的文件夹 iPhone Simulator 。(比如我的位置是在:/Users/mac/Library/Application Support/ ) .

3. Xcode打开刚刚那个工程,编译运行,OK !

//************************************************http://www.cnblogs.com/fjut**************************************************//

原文地址:https://www.cnblogs.com/fjut/p/2623334.html