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



我刚刚从mac应用商店下载并在我的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奇怪的游乐场错误,Cand';t查找符号。这里的提问者添加了一个文本字段,但当时没有将其添加为liveView的子视图。这个问题和你的有点相似。

希望我能帮上更多的忙。干杯Theo

最新更新