【问题标题】:watchOS 1 storyboard crashes in Xcode 7watchOS 1 故事板在 Xcode 7 中崩溃
【发布时间】:2015-10-06 14:02:36
【问题描述】:

我正在将我的项目转换为 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]

用户 ID: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

应用特定信息:

ProductBuildVersion: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 ((null)))

对象:

方法:
+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(在 DVT基金会)

3 0x000000011a88a32f(在 IDEInterfaceBuilderCocoaTouchIntegration 中)

4 0x000000011a889eda(在 IDEInterfaceBuilderCocoaTouchIntegration 中)

5 0x000000011a86d3cf(在 IDEInterfaceBuilderCocoaTouchIntegration 中)

6 0x000000011a86daf1(在 IDEInterfaceBuilderCocoaTouchIntegration 中)

7 0x000000010a1a9464 __DVTDispatchAsync_block_invoke(在 DVT基金会)

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 -[DVT应用 nextEventMatchingMask:untilDate:inMode:dequeue:](在 DVTKit 中)

20 0x00007fff8cba0af3 -[NSApplication 运行](在 AppKit 中)

21 0x00007fff8cb1d244 NSApplicationMain(在 AppKit 中)

22 0x00007fff8b7255c9 开始(在 libdyld.dylib 中)

【问题讨论】:

    标签: watchkit xcode-storyboard swift2 xcode7 watchos-2


    【解决方案1】:

    导航到“/Library/Developer/CoreSimulator/Profiles/Runtimes”,然后删除运行时 - 运行时已旧。之后,重启 Xcode7,然后启动模拟器...

    查看更多信息,Xcode 7 Beta 4 no simulators and can't open nibs

    【讨论】:

      猜你喜欢
      • 2016-01-11
      • 2015-10-26
      • 2012-09-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-14
      • 2015-11-15
      • 1970-01-01
      相关资源
      最近更新 更多