fixed Xcode 6 for iOS 8.0 and OS X 10.10