update codes for Xcode 6 GM