我正在将我的项目转换为 Xcode 7 和 Swift 2。我还有一个 WatchKit 扩展,我允许 Xcode 将其转换为 watchOS 2。
当我打开故事板时,我遇到了这个崩溃。是否有一些情节提要坏了,所以需要手动调整?
处理:Xcode [97053]
路径:
/Applications/Xcode-beta.app/Contents/MacOS/Xcode标识符:com.apple.dt.Xcode
版本:7.0 (8163.8)
构建信息:IDEFrameworks-8163008000000000~7
代码类型:X86-64(本机)
父进程:???[1]
负责人:Xcode [97053]
用户编号:504
日期/时间:2015-07-16 18:39:19.620 -0400
操作系统版本:Mac OS X 10.10.4 (14E46)
报告版本:11
匿名 UUID:56576435-6521-AF4C-A27C-F5E11A057A25
睡眠/唤醒 UUID:BAA76D42-23AC-45B6-A291-6CFFB2574157
自启动以来的唤醒时间:1300000 秒
唤醒时间:10000 秒
崩溃的线程:0 调度队列:com.apple.main-thread
异常类型:EXC_CRASH (SIGABRT)
异常代码:0x0000000000000000, 0x0000000000000000
应用特定信息:
产品构建版本:7A152u
/Library/Caches/com.apple.xbs/Sources/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-8124.4/InterfaceBuilder/RemoteToolCommunication/IBObjectMarshalling.m:694 中的断言失败:无法启动远程工具:无法找到或创建描述系统内容的执行上下文具有默认保真度的 IBIPadFramework 的 2 倍:无法为 SimDeviceType 类型找到合适的设备:com.apple.CoreSimulator.SimDeviceType.iPad-Air,运行时 SimRuntime:9.0 (13A4293g) - com.apple.CoreSimulator.SimRuntime.iOS-9 -0(失败原因:无法创建与 SimDeviceType 匹配的新模拟器设备:com.apple.CoreSimulator.SimDeviceType.iPad-Air 用于运行时 SimRuntime:9.0 (13A4293g) - com.apple.CoreSimulator.SimRuntime.iOS-9-0( (无效的)))
目的:
方法:
+valueForKeyPath:ofClassNamed:usingMarshaller:targetRuntime:context:explicitScaleFactor:diagnosticsBlock:线程:{number = 1,name = main}
提示:无
回溯:
0 0x000000010b5630f7 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:](在 IDEKit 中)
1 0x000000010a16e7f2 _DVTAssertionHandler(在 DVTFoundation 中)
2 0x000000010a16ea09 _DVTAssertionFailureHandler(在 DVTFoundation 中)
3 0x000000011a88a32f(在 IDEInterfaceBuilderCocoaTouchIntegration 中)
4 0x000000011a889eda(在 IDEInterfaceBuilderCocoaTouchIntegration 中)
5 0x000000011a86d3cf(在 IDEInterfaceBuilderCocoaTouchIntegration 中)
6 0x000000011a86daf1(在 IDEInterfaceBuilderCocoaTouchIntegration 中)
7 0x000000010a1a9464 __DVTDispatchAsync_block_invoke(在 DVTFoundation 中)
8 0x00007fff98b87323 _dispatch_call_block_and_release(在 libdispatch.dylib 中)
9 0x00007fff98b82c13 _dispatch_client_callout(在 libdispatch.dylib 中)
10 0x00007fff98b8ecbf _dispatch_main_queue_callback_4CF(在 libdispatch.dylib 中)
11 0x00007fff92ea33f9 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE(在 CoreFoundation 中) 12 0x00007fff92e5e68f __CFRunLoopRun(在 CoreFoundation 中)
13 0x00007fff92e5dbd8 CFRunLoopRunSpecific(在 CoreFoundation 中)
14 0x00007fff8d77456f RunCurrentEventLoopInMode(在 HIToolbox 中)
15 0x00007fff8d7742ea ReceiveNextEventCommon(在 HIToolbox 中)
16 0x00007fff8d77412b _BlockUntilNextEventMatchingListInModeWithFilter(在 HIToolbox 中) 17 0x00007fff8cbab8ab _DPSNextEvent(在 AppKit 中)
18 0x00007fff8cbaae58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:](在 AppKit 中)
19 0x000000010a72b5fe -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:](在 DVTKit 中)
20 0x00007fff8cba0af3 -[NSApplication 运行](在 AppKit 中)
21 0x00007fff8cb1d244 NSApplicationMain(在 AppKit 中)
22 0x00007fff8b7255c9 开始(在 libdyld.dylib 中)