I can't run any Xcode Swift Playground project without getting the error:
Failed to launch process. Failed to attach to stub for playground execution: error: attach failed ((os/kern) invalid argument)
Does anyone know how to solve this?
I can't run any Xcode Swift Playground project without getting the error:
Failed to launch process. Failed to attach to stub for playground execution: error: attach failed ((os/kern) invalid argument)
Does anyone know how to solve this?
I've the same issue. If I launch Xcode using rosetta, it doesn't show anything. You must switch off rosetta and it works perfect.
To expand on @E.P's answer
To put off rosetta Go to Aplications-->Xcode-->Get info --> Uncheck rosetta.
You need to restart the system in some cases
Right click on Xcode, Get Info, Uncheck Rosetta. Then quit Xcode from Dock and re open your playground file.
Applications-->Xcode-->Get info --> Uncheck rosetta and restart system, then it will work perfectly.