簡體   English   中英

Xcode:操場執行失敗:

[英]Xcode: Playground execution failed:

游樂場執行失敗:

在此處輸入圖片說明

error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x14eee).
The process has been left at the point where it was interrupted, use "thread return -x" to return to the state before expression evaluation.

thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x14eee)
    frame #0: 0x0000000000014eee
    frame #1: 0x0000000123c284b2 PlaygroundLogger`playground_logger_initialize + 18
    frame #2: 0x00000001235ba23d $__lldb_expr2`main at playground1-901e96..swift:8
    frame #3: 0x000000010dadc5f0 MyPlayground`linkResources + 304
    frame #4: 0x000000010f71262c CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    frame #5: 0x000000010f711de0 CoreFoundation`__CFRunLoopDoBlocks + 336
    frame #6: 0x000000010f70c654 CoreFoundation`__CFRunLoopRun + 1284
    frame #7: 0x000000010f70be11 CoreFoundation`CFRunLoopRunSpecific + 625
    frame #8: 0x00000001173191dd GraphicsServices`GSEventRunModal + 62
    frame #9: 0x000000011371281d UIKitCore`UIApplicationMain + 140
    frame #10: 0x000000010dadc6bd MyPlayground`main + 205
    frame #11: 0x0000000110e5a575 libdyld.dylib`start + 1

我經歷了幾種不同的方式來關閉並重新啟動程序,該程序最終對我有用,當我嘗試按以下步驟操作時,它起作用了:

  1. 文件->關閉“ Name.playground”
  2. 文件->關閉游樂場
  3. 退出Xcode
  4. 重新打開Xcode

另外在fileInspector內部,我進入了Playground Settings(平台設置)並將平台選擇為“ macOS”。

感謝大家的幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM