Compatibility with Xcode 5 and iOS 7.