Xcode---->Preferences...---->Locations---->点击第一个小箭头 会跳转到一个文件夹---->删除文件夹---->command+shift+K ---->command+ R---->成功