Optimized the project for Xcode 4.6/5 and iOS 6/7.