Xcode: update version detection for 2.x