facebook/xctool — pull request #232 by hurlbutt (2013-11-01 22:20:36+00:00)
Title: Refactored getAvailableSDKAndAliases to use NSScanner

Per T2868609, refactored getAvailableSDKAndAliases to use NSScanner and a different version of /usr/bin/xcodebuild to generate the necessary dictionary. Also wrote a test case and provided test data to ensure that it works correctly.