Playgrounds are broken in Xcode 8.3 (8E162)

Originator:serieuxchat
Number:rdar://31296836 Date Originated:28-Mar-2017
Status:Open Resolved:
Product:Developer Tools Product Version:8.3 (8E162)
Classification: Reproducible:Always
 
Steps to Reproduce:
Open Xcode and create a new playground.
You can also use a playground from this project:
https://github.com/Swinject/Swinject/archive/master.zip

Open the playground file in Xcode and run the playground

Expected Results:
Playground runs normally

Actual Results:
First I see a spinner in the Xcode toolbar and the label "Launching Simulator"

Then Xcode shows the message:
"Failed to launch process. The operation could not be completed. Mach error -308 - (pic/mig) server died.


CoreSimulator.log gets the following errors:

Mar 28 14:49:43 sergey-macbook CoreSimulatorService[8089] <Error>: Error from finding pasteboard support port, Error Domain=com.apple.CoreSimulator.SimError Code=163 "Unable to lookup in current state: Shutting Down" UserInfo={NSLocalizedDescription=Unable to lookup in current state: Shutting Down}
Mar 28 14:49:43 sergey-macbook CoreSimulatorService[8089] <Error>: Error Domain=com.apple.CoreSimulator.SimError Code=163 "Unable to lookup in current state: Shutting Down" UserInfo={NSLocalizedDescription=Unable to lookup in current state: Shutting Down}
Mar 28 14:49:43 sergey-macbook CoreSimulatorService[8089] <Error>: Error Domain=com.apple.CoreSimulator.SimError Code=163 "Unable to lookup in current state: Shutting Down" UserInfo={NSLocalizedDescription=Unable to lookup in current state: Shutting Down}
Mar 28 14:49:43 sergey-macbook com.apple.dt.Xcode[8098] <Error>: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Mar 28 14:49:43 sergey-macbook com.apple.dt.Xcode[8098] <Error>: Error from finding pasteboard support port, Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}




Version:
Xcode 8.3 (8E162)

MacOS Sierra 10.12.4 Beta (16E175b)

Notes:


Configuration:
This problem happens with new playgrounds and with existing ones as well
(E.g. with the playground from https://github.com/Swinject/Swinject/archive/master.zip)

Things I tried:

- Completely remove Xcode and install it again.
- Add/remove Simulator runtimes.

This problem is not limited to this specific version of Xcode - I experienced it with Xcode 8.2 as well.

No matter what I do I cannot get playgrounds to work.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!