I am starting Swift and using tutorials in Swift playgrounds for macOS.
So the sample code will be
var str = "Hello, playground" str str1
I am not getting any red error information on page 1. Just a crash in the console
Playground execution failed: error: MyPlayground.playground:1:1: error: use of unresolved identifier 'str1' str1 ^~~~ * thread
If I correct the code, then the playground will be updated and show new data, it just will not report errors
How to stop Xcode from crashes and behave as documented?
Xcode Version 8.3 (8E162) macOS 10.12.4
I tried to delete all Xcode files (including the ones that it creates during build), and reinstall and use another user
xcode swift-playground
Mark
source share