update for Xcode 6.1 and iOS 8.1