[iOS越狱开发]安装command line tools for Xcodew
2014-12-02 16:57
736 查看
网上搜了篇文章,介绍iOS的越狱开发,其中提到了要给Xcode安装command line tools,以前从没听过这个工具,然后就google了下。
and command-line tools such as Clang, which are installed in /usr/bin.
http://railsapps.github.io/xcode-command-line-tools.html
但是我按照网上说的方法,在Xcode >>Preferences >>download里面并没有看到有command line tools的下载,然后就开始按照上面帖子里面介绍的试一下各种命令。
在终端里面输入whoami
果然给我输出了我的Mac的名字,好神奇!
当我输入
确实返回了
说明我的Xcode安装的是个全版本的
接下来就到了安装Command Line Tools了
继续在终端里面输入:
系统就提示我是否进行下载,同意以后就开始下载了。
Verify that you’ve successfully installed Xcode Command Line Tools:
Just to be certain, verify that
installed:
安装了之后,我输入xcode-select -p命令仍然返回的是以前的结果,没有变化,但是我尝试输入 xcode-select -install的时候提示我已经安装过了。
证明确实Command Line Tools工具已经正确安装了,接下来就开始越狱的开发吧!
关于Xcode Command Line Tools的介绍:
https://developer.apple.com/library/ios/technotes/tn2339/_index.htmlWhat is the Command Line Tools Package?
The Command Line Tools Package is a small self-contained package available for download separately from Xcode and that allows you to do command line development in OS X. It consists of two components: OS X SDKand command-line tools such as Clang, which are installed in /usr/bin.
Command Line Tools的安装
这篇文章更为详细的介绍了Command Line Tools的安装http://railsapps.github.io/xcode-command-line-tools.html
但是我按照网上说的方法,在Xcode >>Preferences >>download里面并没有看到有command line tools的下载,然后就开始按照上面帖子里面介绍的试一下各种命令。
在终端里面输入whoami
果然给我输出了我的Mac的名字,好神奇!
当我输入
$ xcode-select -p
确实返回了
/Applications/Xcode.app/Contents/Developer
说明我的Xcode安装的是个全版本的
接下来就到了安装Command Line Tools了
继续在终端里面输入:
$ xcode-select --install
系统就提示我是否进行下载,同意以后就开始下载了。
Verify that you’ve successfully installed Xcode Command Line Tools:
$ xcode-select -p/Library/Developer/CommandLineTools
Just to be certain, verify that
gccis
installed:
$ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.0.0 Thread model: posix
安装了之后,我输入xcode-select -p命令仍然返回的是以前的结果,没有变化,但是我尝试输入 xcode-select -install的时候提示我已经安装过了。
证明确实Command Line Tools工具已经正确安装了,接下来就开始越狱的开发吧!
相关文章推荐
- No SDKs could be found for the IOS Device Platform, did you install the command line tools on your
- ios 库编译环境配置 xcode command line tools
- 只安装XCode’s Command line tools不安装XCode
- Xcode Command Line Tools for Mac OS X 10.9 Mavericks
- Xcode Command Line Tools for Mac OS X 10.9 Mavericks
- 安装Xcode Command Line Tools
- Xcode使用之安装Xcode Command Line Tools
- command line tools for OS X的安装
- iOS开发----Xcode第三方插件command+B后安装不了的解决办法
- Xcode Command Line Tools for Mac OS X 10.9 Mavericks
- 将雪豹系统升级为10.6.7以及xcode_4.2_and_ios_5_sdk_for_snow_leopard安装
- 用iOSOpenDev在Xcode里配置越狱开发环境
- 使用 Xcode 在越狱 iOS 设备上进行开发调试
- 在 Win 7 下使用 VirtualBOX 虚拟机安装 OS X 10.8 Mountain Lion 及 XCode 4.4.1 (iOS SDK5.1) 作开发
- windows 8 安装 oracle 11g 报错:command line option syntax error,type command/? for help
- IOS开发(22)之生成IPA文件并安装到越狱后的真机上
- Win7虚拟机安装 Mac OS X Lion 10.7.2 及 XCode 4.2.1 (iOS SDK5.0) 作开发
- IOS开发Xcode报错之Symbol not found(command+鼠标选择索引不到的时候)
- 在Win7下使用虚拟机安装 Mac 及 XCode 4.2.1(iOS开发环境)
- sql安装错误:command line option syntax error.type command /? for help