Xcode6 ios8 support

A bag of commits to test Xcode 6 GM support.