Getting this error in Playground when I am opening Xcode using Rosetta.

A Failed to launch process. Failed to attach to stub for playground execution: error: debugserver is x86_64 binary running in translation, attached failed..

Did anyone experience this? I want to run playground using Rosetta?

What is your motivation for using Rosetta here?

Also experiencing the same issue

Can anybody tell me how I could get rid of this?

I found this on StackOverflow.

It seems that you should turn off running with Rosetta for Xcode.

It's incredibly disappointing Apple allows this type of error to persist almost 2 years after the launch of the M1 chip. It's a total disgrace for the company, as they obviously no longer care about bringing on new developers. Apple continues to persist problems with all XCode when it comes to running on M1/M2 machines. And they are totally asleep at the wheel when it comes to these forums. EXTREMELY disappointed in Apple.

You shouldn't have to switch Rosetta on and off just to run a Playground to teach a kid how to code in Swift/XCode/Apple-environment! Most devs don't even understand what Rosetta is, but are forced to figure it out just to continue developing on M1/M2 machines. This is the type of stuff which will lead to Apple's demise.

Getting this error in Playground when I am opening Xcode using Rosetta.
 
 
Q