小编Emi*_*ald的帖子

Xcode游乐场被困在'Running playground'或'启动模拟器'上并且不会运行代码,该怎么办?

每次我为了测试一些代码而创建一个新游乐场时,Xcode都会卡住并且不会运行代码.它只是在屏幕顶部显示"Running playground"或"Launching simulator"语句,加载图标很可能在它旁边旋转,但没有任何反应.有时这会无限期地继续,有时Xcode会停止并将其打印到控制台:

Playground execution failed: error: Couldn't lookup symbols:
__swift_FORCE_LOAD_$_swiftCoreImage 
__swift_FORCE_LOAD_$_swiftFoundation 
_playground_log_hidden 
_playground_logger_initialize 
_playground_log_postprint 

thread #1: tid = 0xc0cd0, 0x000000010ea7c3c0 MyPlayground`executePlayground, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2

frame #0: 0x000000010ea7c3c0 MyPlayground`executePlayground
frame #1: 0x000000010ea7b9c0 MyPlayground`__37-[XCPAppDelegate enqueueRunLoopBlock]_block_invoke + 32 
frame #2: 0x000000010f59625c CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
frame #3: 0x000000010f57b304 CoreFoundation`__CFRunLoopDoBlocks + 356
frame #4: 0x000000010f57aa75 CoreFoundation`__CFRunLoopRun + 901
frame #5: 0x000000010f57a494 CoreFoundation`CFRunLoopRunSpecific + 420
frame #6: 0x0000000114985a6f GraphicsServices`GSEventRunModal + 161
frame #7: 0x0000000110124f34 UIKit`UIApplicationMain + 159
frame #8: 0x000000010ea7b6e9 …
Run Code Online (Sandbox Code Playgroud)

xcode ios xcode8

126
推荐指数
8
解决办法
7万
查看次数

标签 统计

ios ×1

xcode ×1

xcode8 ×1