Skip to content

Use xcrun to identify the path to "docsetutil" #249

Merged
merged 2 commits into from Sep 10, 2012

2 participants

@NachoMan
NachoMan commented Sep 8, 2012

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.

@tomaz tomaz merged commit b54dcbe into tomaz:master Sep 10, 2012
@tomaz
Owner
tomaz commented Sep 10, 2012

Thanks for your contribution - this is one of the areas that caused disturbances among appledoc users when Xcode 4 arrived. I just never got enough time to tackle it properly, seems like xcrun is the way to go. Will probably cause short term issues for few devs as cmd line switch changed, but let's see :)

@NachoMan
@tomaz
Owner
tomaz commented Sep 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.