1

Just create a new playground file, got this without doing anything

failed to launch process. The folder "disabled.plist" doesn't exist.

Quit Xcode and restart, even remove 'Xcode/DerivedData', doesn't have any help.

How could fix it?

enter image description here

S1U
  • 825
  • 2
  • 14
  • 26
  • Nothing. Playground is [buggy](https://stackoverflow.com/questions/46531754/compiler-segmentation-fault-while-using-set-in-swift/46534410#46534410) like hell. Many times the solution I have is to do a restart – mfaani Oct 29 '18 at 05:55

1 Answers1

0

I had the same issue and I just fixed it.

Turns out somehow I was removed from having permission to write to /private/temp directory.

To solve it:

Using CMD

Update the permission of your temp folder using:

sudo chown -R $(whoami) /private/temp

Repairing with Disk Utility

If you are using OS X 10.10 ("Yosemite") or earlier, Try to fix the problem by using the OS X Disk Utility program:

  1. Launch Disk Utility. It is located in /Applications/Utilities.
  2. Select the computer's boot volume (usually "Macintosh HD") in the left column.
  3. Click on the "Repair Disk Permissions" button".
  4. Wait until the permissions repair is complete (it usually takes several minutes).
  5. Quit Disk Utility.
  6. Launch Xcode and to see if the problem has been fixed.

Hope it helps someone

wizston
  • 31
  • 9