过去几天我一直在研究我的应用程序,我一直都能够模拟它。今天,我编译和运行,有没有错误或警告,但在XCode中的底部,有一个消息说模拟器无法安装应用程序
> Error From Debugger: Failed to launch
> simulated application: iOS Simulator
> failed to install application
这是试图“打造走”再次弹出后的内部错误窗口,
文件:/SourceCache/IndigoDebuggingPlugin/IndigoDebuggingPlugin-44/iPhoneSimulatorDevice/XCiPhoneSimulatorDevice.m 线:341 对象: 方法:_launchSimulatedExecutable:
断言失败:无== _currentSimulatorSession
我看了看周围的互联网的帮助,我已经试过手动删除我的build文件夹,清洁和建设,我最近刚刚重新安装完全Xcode和整个SDK。
而且这个项目的开放退出XCode的时候,它给了我这样一个错误消息:
无法关闭项目
原因:断言失败在 /SourceCache/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient-18 /Source/DTiPhoneSimulatorSession.m:147 详细信息:requestEndWithTimeout: 呼叫失败会话。对象:
方法:-requestEndWithTimeout: 主题:{名称= (空),NUM = 1}回溯:0 0x00043888 - [DTAssertionHandler handleFailureInMethod:对象:文件名:LINENUMBER:MessageFormat中:参数:] (在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的makeObjectsPerformSelector:](在的CoreFoundation)13 0x0076468e - [PBXProjectDocument mainModuleShouldClose:](在 DevToolsInterface中)14 0x00998bf6 - [XCPerspectiveModule windowShouldClose:](在 DevToolsInterface)15 0x000099a1 16 0x00007297 17 0x95b8d522 - [的NSApplication _docController:shouldTerminate:](在AppKit框架)18 0x95b8d048 - [NSDocumentController(NSInternal)_continueTerminationHavingClosedAllDocuments:上下文:] (在了AppKit )19 0x95b8ce26 - [NSDocumentController(NSInternal)_shouldTerminateWithDelegate:shouldTerminateSelector:] (在AppKit框架)20 0x95b8c6ff - [的NSApplication _shouldTerminate](在AppKit框架)21 0x95b8c271 - [TE的NSApplication
我没有想法接下来要做什么,任何帮助将不胜感激。
什么Xcode版本? – Tim
XCode版本:3.2.5 组件版本 Xcode IDE:1760.0 Xcode Core:1763.0 ToolSupport:1758.0 – TowBoat911
模拟器是否启动,请尝试删除旧的应用程序版本。是另一个Xcode应用程序访问的模拟器 - >重启模拟器可以用另一个X代码项目启动模拟器吗? – Seega