I have 27 inch iMac running Catalina with 8 gig of RAM and a terabyte of storage...XCode, both XCode 10.2.1 and 11 beta won't run 5 lines of code in a Playground. It took up almost 4 gig of RAM, leaving approximately 23 mb left. It's pretty sad when I can't even run a Playground. I sure hope this is fixed SOON. Right now, my XCode environment is unusable and I cannot develop anything due to this issue.
I closed it down and reopened and ran this program in a Playground:
import UIKit
var str = "Hello, playground"
and this was the result I got:
Playground execution failed:
error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x138b2).
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=0x138b2)
* frame #0: 0x00000000000138b2
frame #1: 0x00000001235e0622 PlaygroundLogger`playground_logger_initialize + 18
frame #2: 0x00000001235da22b $__lldb_expr2`main at playground1-cade0a..swift:8:1
frame #3: 0x000000010cf2b620 test`linkResources + 304
frame #4: 0x000000010ede2aec CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
frame #5: 0x000000010ede22b0 CoreFoundation`__CFRunLoopDoBlocks + 336
frame #6: 0x000000010eddcb34 CoreFoundation`__CFRunLoopRun + 1252
frame #7: 0x000000010eddc302 CoreFoundation`CFRunLoopRunSpecific + 626
frame #8: 0x0000000116cce2fe GraphicsServices`GSEventRunModal + 65
frame #9: 0x0000000112fb6ba2 UIKitCore`UIApplicationMain + 140
frame #10: 0x000000010cf2b6ed test`main + 205
frame #11: 0x000000011074f541 libdyld.dylib`start + 1
I ran a boilerplate Playground and it failed...using XCode 10.2.1 on Catalina. So now what? I am now out of commision, any answers on how I can work through this?