resolve or suppress errors/warnings from xcode6