updated lowest supported iOS version to 6, fixed deprecation warning in Xcode 5