Xcode 10.11

Since this isn't the first time this has happened, it would be nice to know what the official policy is with this problem.

  1. One of my projects is a System Preference Pane. With 10.11, Xcode's debugger can't debug it as I get a 'can't attach to System Preferences because of System Integrity Protection'. How can I debug my prefpane under 10.11, as I have done in every OS back to 10.3?
  2. Mac OS X 10.11 El Capitan Setup. GitHub Gist: instantly share code, notes, and snippets. Mac OS X 10.11 El Capitan Setup. GitHub Gist: instantly share code, notes, and snippets. Xcode Preferences Downloads Command Line Tools. Xcode-select -install. Run Xcode and accept the license! Homebrew can not install properly.
Xcode 10.11


Xcode 8.2.1, the last version to work on OS X 10.11. An icon used to represent a menu that can be toggled by interacting with this icon.

Running latest 10.11, installed xcode-8, as software update suggested I do.


kext no longer compile/load due to the message:

Xcode 10 Download


Sep 14 14:06:35 icgi-vip kernel[0]: kxld[net.lundman.zfs]: The super class vtable '__ZTV20IOBlockStorageDevice' for vtable '__ZTV27net_lundman_zfs_zvol_device' is out of date. Make sure your kext has been built against the correct headers.

UseXcode


Right, since it compiles against /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kernel.framework/Headers


I guess that is true. But of course xcode deletes the MacOSX10.11.sdk entry, so there is no way to compile kext for the OS I am on? This seems a strange situation to put developers into.

Xcode 10.11


Xcode 10.13

I can copy MacOSX10.11.sdk from another host, but presumably Apple has something else in mind here.