solved issues to make it work with Xcode 6.1