tomaz/appledoc — pull request #249 by NachoMan (2012-09-08 18:24:52+00:00)
Title: Use xcrun to identify the path to "docsetutil"

The "xcode-select" command-line tool is used to switch from one Xcode.app instance to another. If a development machine doesn't have an application named Xcode.app (e.g. in my case I only have Xcode45-DP2.app) then generating a docset will cause an exception.

This pull request switches to using the "xcrun" tool to identify and run the correct path based on the user's environment.