Which version of Xcode does xcodebuild use?(xcodebuild 使用哪个版本的 Xcode?)
问题描述
我在同一台机器上安装了 Xcode 3.2 和 Xcode 4.0.2,它使用 Hudson 进行自动化 CI(持续集成)构建.当我说两者都已安装时,我的意思是我可以同时或互换使用 Xcode 3 和 Xcode 4.它们都存在于机器上,因为我为 Xcode 4 进行了自定义安装,而没有覆盖 Xcode 3(据说).
I have installed both Xcode 3.2 and Xcode 4.0.2 on the same machine, which uses Hudson for automated CI (continuous integration) builds. When I say that both were installed, what I mean by that is that I can use both Xcode 3 and Xcode 4 simultaneously or interchangeably. They both exist on the machine, as I did a custom install for Xcode 4 without overwriting Xcode 3 (supposedly).
- 对xcodebuild"的命令行调用会调用 Xcode 3 还是 Xcode 4?
- 这个问题有意义吗?可能了解或不了解该主题的人要求使用 3 构建一些项目,而使用 4 构建一些项目.
- 或者,Xcode 3 的xcodebuild"存储位置与 Xcode4 的xcodebuild"存储位置是否存在单独的位置?如果有,我可以在构建脚本中使用不同的路径.
推荐答案
您可以通过
xcode-select -print-path了解 xcodebuild 使用的版本.另外,使用xcode-select -switch <path>You can find out what version is xcodebuild using with
xcode-select -print-path. Also, change to a different version usingxcode-select -switch <path>这篇关于xcodebuild 使用哪个版本的 Xcode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:xcodebuild 使用哪个版本的 Xcode?
基础教程推荐
- AdMob 广告未在模拟器中显示 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
