Hi, thank you for the answers!
Can you provide a sample playground that does not work as you expect?
None of the code works, even the simplest ones. Here's an example:
At the top, it says it's successful, but as you can see, no output in either console or debug area.
Maybe you need to switch the mode of displaying messages in the console.
I tried that too, but still no output.
I also forgot to mention in my first post that Swift Playgrounds (the learning program) works just fine, as in, it shows the output in the console.
Again, thank you!
Post
Replies
Boosts
Views
Activity
Still nothing :/
I will file the bug report asap.
In the meantime, I'll also try to reinstall the whole Xcode.
Tried manual multiple times, no luck.
Before I download Xcode 13 beta, there is one more thing I should mention. Whenever I try to run a code, I get error: attach by pid '3733' failed -- lost connection and when I click the details, it shows me this
Details
Could not attach to pid : “3819”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: lost connection
User Info: {
DVTRadarComponentKey = 855031;
RawUnderlyingErrorMessage = "lost connection";
}
--
System Information
macOS Version 12.0 (Build 21A5304g)
Xcode 12.5.1 (18212) (Build 12E507)
Timestamp: 2021-09-04T02:17:35+02:00
The number after "pid" ALWAYS changes whenever I run it again and again and it ALWAYS goes up.
Maybe all of this has to do something with the Playground bug.
Edit: Forgot to mention this applies to Xcode projects, not Xcode playground
I just installed Xcode beta 13, and I think it fixed it. Playground shows output and projects don't show "attach by pid" error when ran.
Thank you so much!