added support for xcode 6