小编Tow*_*911的帖子

模拟器无法安装应用程序

过去几天我一直在研究我的应用程序,我一直能够模拟它.今天,我编译并运行,没有错误或警告,但在XCode的底部有一条消息说

> Error From Debugger: Failed to launch
> simulated application: iOS Simulator
> failed to install application
Run Code Online (Sandbox Code Playgroud)

这是在尝试再次"构建并继续"后弹出的内部错误窗口,

文件:/SourceCache/IndigoDebuggingPlugin/IndigoDebuggingPlugin-44/iPhoneSimulatorDevice/XCiPhoneSimulatorDevice.m行:341对象:方法:_launchSimulatedExecutable:

断言失败:nil == _currentSimulatorSession

我在互联网上寻求帮助,我尝试手动删除我的构建文件夹,清理和构建,我最近刚刚完全重新安装了XCode和整个SDK.

此外,当打开此项目退出XCode时,它会在错误消息中给出我:

无法关闭项目

原因:/SourceCache/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient-18/Source/DTiPhoneSimulatorSession.m:147中的ASSERTION FAILURE详细信息:requestEndWithTimeout:在失败的会话中调用.对象:
方法:-requestEndWithTimeout:线程:{name =(null),num = 1} Backtrace:0 0x00043888 - [DTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:](在DevToolsFoundation中)1 0x00043518 _DTAssertionFailureHandler(在DevToolsFoundation中) )2 0x1e06f807 - [DTiPhoneSimulatorSession requestEndWithTimeout:](在iPhoneSimulatorRemoteClient)3 0x1d8a5ca9 4 0x00826b95 - [PBXDebugSessionModule stopLaunchSession](在DevToolsInterface)5 0x008243c8 - [PBXDebugSessionModule closeModule](在DevToolsInterface)6 0x9973017d - [NSArray的makeObjectsPerformSelector:](在的CoreFoundation)7 0x0077f6ea - [PBXModule closeModule](在DevToolsInterface中)8 0x9973017d - [NSArray makeObjectsPerformSelector:](在CoreFoundation中)9 0x0077f6ea - [PBXModule closeModule](在DevToolsInterface中)10 0x9973017d - [NSArray makeObjectsPerformSelector:](在CoreFoundation中)11 0x0099a188 - [XCPerspectivesSpecification closeAllModules](在DevToolsInterface中)12 0x9973017d - [NSArray …

sdk xcode ios ios-simulator

7
推荐指数
1
解决办法
7524
查看次数

标签 统计

ios ×1

ios-simulator ×1

sdk ×1

xcode ×1