iOS: support XCode 5 and iOS 7.0