Why is Playground taking so long of just three lines of code?

Using Xcode 15.0.1

The playground, for the code below, has been in "Launching ok" for over two minutes. Anything that I should look into? A little mind boggling actually.

import UIKit

var msg = "Hello World"

print ("\(msg)")
Answered by SergioDCQ in 775591022

Just to close this thread out: I was booting off of an external SSD drive. The drive itself was slow, so that was this issue.

Because it has to start up an iOS simulator to run your code. If you want playground to start promptly, it’s better to start from one of the macOS templates.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

Just to close this thread out: I was booting off of an external SSD drive. The drive itself was slow, so that was this issue.

Why is Playground taking so long of just three lines of code?
 
 
Q