繁体   English   中英

XCode 8游乐场执行失败,无法查找符号

[英]XCode 8 playground execution failed, Couldn't lookup symbols

我刚刚从mac app store下载并安装了我的mac上的新版XCode。 我的mac也安装了最新的软件。 我有以前版本的xcode,它们似乎都运行良好。 这个特定的XCode有一些东西导致了这个问题。 因此,当打开游乐场时,我会收到这个长错误,我将在下面发布

另外值得注意的是,在显示此错误之前,操场会加载大约10分钟

这是错误:

    Playground execution failed: error: Couldn't lookup symbols:
  __swift_FORCE_LOAD_$_swiftCoreGraphics
  __swift_FORCE_LOAD_$_swiftDarwin
  __swift_FORCE_LOAD_$_swiftCoreImage
  __swift_FORCE_LOAD_$_swiftDispatch
  __swift_FORCE_LOAD_$_swiftFoundation
  __swift_FORCE_LOAD_$_swiftUIKit
  __swift_FORCE_LOAD_$_swiftObjectiveC
  _playground_log_hidden
  _playground_logger_initialize
  __swift_FORCE_LOAD_$_swiftQuartzCore

* thread #1: tid = 0x10832a, 0x00000001020093c0 anotherone`executePlayground, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2
  * frame #0: 0x00000001020093c0 anotherone`executePlayground
    frame #1: 0x00000001020089c0 anotherone`__37-[XCPAppDelegate enqueueRunLoopBlock]_block_invoke + 32
    frame #2: 0x0000000102b246ac CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    frame #3: 0x0000000102b096f4 CoreFoundation`__CFRunLoopDoBlocks + 356
    frame #4: 0x0000000102b08e65 CoreFoundation`__CFRunLoopRun + 901
    frame #5: 0x0000000102b08884 CoreFoundation`CFRunLoopRunSpecific + 420
    frame #6: 0x0000000108035a6f GraphicsServices`GSEventRunModal + 161
    frame #7: 0x00000001036b6c68 UIKit`UIApplicationMain + 159
    frame #8: 0x00000001020086e9 anotherone`main + 201
    frame #9: 0x000000010592368d libdyld.dylib`start + 1
    frame #10: 0x000000010592368d libdyld.dylib`start + 1

你也可以发布你的代码吗?

问题可能是您添加了视图并忘记将其添加为其正确母视图的子视图。

举个例子: XCode 8奇怪的Playground错误,无法查找符号 问题提示者在这里添加了一个文本字段,但当时没有将其添加为liveView的子视图。 这个问题与你的问题有点类似。

希望我能进一步提高帮助。 干杯,西奥

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM