Abort when encountering corrupted .xcodeproj files
Improve Xcode.app detection and error handling
Support both Xcode 5 and Xcode 6