Search code examples
macosmacos-sierranstouchbar

Xcode 8.1 missing 10.12.1 SDK when trying NSTouchbar


Excited to try out the new NSTouchBar APIs. Went to the developer site to get the sample code, and it crashes every time in Xcode 8.1 (build 8B62)saying I don't have the 10.12.1 SDK installed, even though I can add a deployment target of 10.12.1.


Solution

  • There are now two versions of macOS 10.12.1 (12B2657 and 16B2555).

    Download the update from here (also if you already have 10.12.1 12B2657) to get 16B2555:

    https://support.apple.com/kb/dl1897?locale=en_US

    This will enable the TouchBar simulator in Xcode 8.1.