iOS 8 and Xcode 6 changes

This version fixes several issues that cropped up in iOS 8 and uses
some new tools introduced in Xcode 6.