Fixes #1482. Adds support for iOS 8 and XCode 6.0.1+