error: tool 'xcodebuild' requires Xcode的解决办法
来源:互联网 发布:淘宝认证考试 编辑:程序博客网 时间:2024/05/17 05:18
报错信息:
select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
原因:
是因为前一阵重新下载了一个XCode,为了标识两个XCode,分别进行了重命名,导致xcodebuild的时候找不到原来使用的的XCode了。
解决办法:
在终端运行如下命令:
xcode-select --switch /Applications/Xcode\(7.3\).app/Contents/Developer/
0 0
- error: tool 'xcodebuild' requires Xcode的解决办法
- xcode-select: error: tool 'xcodebuild' requires Xcode错误的解决办法
- xcode-select: error: tool 'xcodebuild' requires Xcode错误解决方法
- xcode-select: error: tool 'xcodebuild' requires Xcode错误解决方法
- xcode-select: error: tool 'xcodebuild' requires Xcode错误解决方法
- xcode-select: error: tool 'xcodebuild' requires Xcode错误解决方法
- xcode-select: error: tool 'xcodebuild' requires Xcode错误解决方法
- xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Deve
- xcode-select: error: tool ‘xcodebuild(转)
- The document "(null)"requires Xcode 8.0问题的解决办法
- Xcode 8的xcodebuild自动打包代码
- xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is
- The codesign tool requires there only be one - 解决办法
- The codesign tool requires there only be one - 解决办法
- Qt&Xcode 8 ERROR:Xcode not set up properly ... by running /usr/bin/xcodebuild.
- 关于“ Error: Command line error D2004 : '/I' requires an argument ”的原因与解决办法
- Xcode创建的工程使用xcodebuild命令行编译
- error: Xcode not set up properly. You ..confirm the license agreement by running /usr/bin/xcodebuild
- NSURLSession
- 浅谈如何做一名优秀的WEB前端工程师
- RunLoop邮局理论
- 修改系统tabbar的高度
- 基于机器学习的自动问答系统构建
- error: tool 'xcodebuild' requires Xcode的解决办法
- php获取客户端请求的http头
- 一位资深程序员大牛给予Java初学者的学习路线建议
- 子线程中添加Toast的方法
- Yii2.0中不同业务之间的表导入工作(批量查询, 批量插入)
- 在Mac OS X 中如何查看keychain中已经保存的密码记录
- theano学习初步(二) 基础Tensor函数
- NOIP2008(2)排座椅
- 广播机制