Updated for iOS 8.1 and Cocoapods 0.34