fixed XCode 6.1 / iOS 8.1 SDK build error