With macOS Sierra, a new folder has been added to the root folder: macOS_SDK

Inside are a bunch of folders, each containing only one folder, till the last one, containing a single file. Here's the path:


The file is clearly visible (in Terminal it shows you that Xcode.app is actually a folder), but trying to opening it (in Terminal) returns an error saying that the file doesn't exist.

How is that possible? Can I delete it?

Here's a quick demo:

terminal screenshot

Note: this had nothing to do: File not found: file is in ~/Library but not on 'This Mac'

  • Have you gone into the Xcode directory to see if the file shows up in finder?
    – Natsfan
    Oct 1 '17 at 2:17
  • @jmh finder won't let you get past xcode.app - as if it's a file. Oct 1 '17 at 2:18
  • 1
    @user770: Right-click (or control-click) on Xcode.app, and choose "Show Package Contents". Also, in the SDKs directory, try ls -l. Oct 1 '17 at 2:23
  • @GordonDavisson we'll try layer and update accordingly Oct 1 '17 at 2:24
  • 1
    @user770 In my opinion it was or is some temporary auxiliary folder/link or an installer ran wild. On most of my (virtual) systems it disappeared in the meantime without user interaction.
    – klanomath
    Oct 1 '17 at 2:46

You must log in to answer this question.

Browse other questions tagged .