it discussed here Xcode playground gets stuck on ‘Running playground’ or ‘Launching simulator’ and won’t run the code, what to do?
but in my case it was:
playground with live view(PlaygroundPage.current.liveView
) doesn’t show you any alerts if you have error in your code – it just stuck on “Running playground” or “Ready to continue”
I used the next approach:
comment all my code
run playground successfully
uncomment one line + run playground – and so on line by line until I reach line with error