- applied fix for xcode6 beta

Pull request with the "ugly" fix for https://github.com/CocoaPods/CocoaPods/issues/2394