I am beginning Swift and using tutorials in Swift playgrounds for macOS.
So example code would be
var str = "Hello, playground"
str
str1
I do not get any red error information on the str 1. Just a crash in the console
Playground execution failed: error: MyPlayground.playground:1:1:
error: use of unresolved identifier 'str1'
str1
^~~~
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
* frame #0: 0x0000000102157360 com.apple.dt.Xcode.PlaygroundStub-macosx`executePlayground
frame #1: 0x000000010215522a com.apple.dt.Xcode.PlaygroundStub-macosx`-[PlaygroundViewBridgeService execute] + 90
If I correct the code then the playground does refresh and show new data it is just not reporting the errors
How do I stop Xcode from crashing and behave as documented?
Xcode Version 8.3 (8E162) macOS 10.12.4
I've tried deleting all Xcode files (including the ones that it creates during a build) and reinstalling and using a different user





