最佳答案:先假设你的macos已经安装了xcode,那么下载检测你的xcode是否安装了svn组件:  在命令行中如入:  svn-version  如果提示:  commandnotfound  说明没有安装