Suggested fixes by Xcode 6 beta 3