1、Xcode command line tools 安装

  • 如果你不是一名 iOS 或 OS X 开发者,可以跳过安装 XCode 的过程,直接安装 Xcode command line tools。

  • 1)从 App store 或苹果开发者网站安装 Xcode

  • 2)紧接着,安装 Xcode command line tools,在终端中运行以下命令。

    # 安装 Xcode command line tools
    $ xcode-select --install
    • 运行命令后,按照指引,你将完成 Xcode command line tools 安装。

2、Xcode command line tools 命令

  • 安装完成 Xcode command line tools 后,你将可以直接在终端中使用主要的命令,比如:make, GCC, clang, perl, svn, git, size, strip, strings, libtool, cpp 等等。

  • 如果你想了解 Xcode command line tools 包含多少可用的命令,可以到 /Library/Developer/CommandLineTools/usr/bin 查看。以下为其中的命令列表。

    ar
    as
    asa
    bison
    BuildStrings
    c++
    c89
    c99
    cc
    clang
    clang++
    cmpdylib
    codesign_allocate
    CpMac
    cpp
    ctags
    ctf_insert
    DeRez
    dsymutil
    dwarfdump
    dyldinfo
    flex
    flex++
    g++
    gatherheaderdoc
    gcc
    gcov
    GetFileInfo
    git
    git-cvsserver
    git-receive-pack
    git-shell
    git-upload-archive
    git-upload-pack
    gm4
    gnumake
    gperf
    hdxml2manxml
    headerdoc2html
    indent
    install_name_tool
    ld
    lex
    libtool
    lipo
    lldb
    lorder
    m4
    make
    MergePef
    mig
    mkdep
    MvMac
    nasm
    ndisasm
    nm
    nmedit
    otool
    pagestuff
    projectInfo
    ranlib
    rebase
    redo_prebinding
    ResMerger
    resolveLinks
    Rez
    RezDet
    RezWack
    rpcgen
    segedit
    SetFile
    size
    SplitForks
    strings
    strip
    svn
    svnadmin
    svndumpfilter
    svnlook
    svnrdump
    svnserve
    svnsync
    svnversion
    unifdef
    unifdefall
    UnRezWack
    unwinddump
    what
    xml2man
    yacc

Xcode command line tools的更多相关文章

  1. Mac appium.dmg. Xcode Command Line Tools

    You need to install the command line tools as marked in your message: ✖ Xcode Command Line Tools are ...

  2. appium----【已解决】【Mac】环境配置提示“Xcode Command Line Tools are NOT installed!"

    报错问题提示截图如下: 报错原因 :根据给出的信息很明显可以看到是"Xcode Command Line Tools"此工具没有安装 解决措施: 打开终端直接执行:xcode-se ...

  3. Xcode Command Line Tools for Mac OS X 10.9 Mavericks

    by Daniel Kehoe Last updated 28 December 2013 How to install Apple Xcode Command Line Tools for Mac ...

  4. Xcode 8.X Command Line Tools

    Summary Step 1. Upgrade Your System to macOS Sierra Step 2. Open the Terminal Application Step 3. Is ...

  5. mac, xcode 6.1 安装command line tools 支持,autoconf,automake等

    以下软件包 都去我的环境库找到 1 先安装 tcl库 2 安装macports /opt/local/bin/port 一般装到这里 安装autoconf时提示: Warning: The Xcode ...

  6. stderr: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    错误提示: (1). stderr: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer direc ...

  7. 怎样安装Command Line Tools in OS x Mavericks&Yosemite(Without xcode)--转载

    How to Install Command Line Tools in OS X Mavericks & Yosemite (Without Xcode) Mac users who pre ...

  8. could not launch process: debugserver or lldb-server not found: install XCode's command line tools or lldb-server

    0x00 事件 VS 调试 go 的时候,发生了这个错误,导致无法调试: could not launch process: debugserver or lldb-server not found: ...

  9. macOS Mojave 10.14 无法安装brew缺少Command Line Tools for Xcode的解决办法

    问题描述: 首先我的版本是 Xcode 10.1 如果按照以前的方法安装brew 复制 1 /usr/bin/ruby -e "$(curl -fsSL https://raw.github ...

随机推荐

  1. javascript 将treeNode 转换id和pid的Array

    function treeTolist(treeNodes, opt) { if (!opt) { opt = {}; opt.key = "id"; opt.parent = & ...

  2. Android实战技巧:如何在ScrollView中嵌套ListView

    前几天因为项目的需要,要在一个ListView中放入另一个ListView,也即在一个ListView的每个ListItem中放入另外一个ListView.但刚开始的时候,会发现放入的小ListVie ...

  3. android studio开发的时候出现design editor is unavailable until after a successful project sync问题的解决方法

    android studio设计界面的时候,出现了报错:design editor is unavailable until after a successful project sync,导致无法编 ...

  4. 使用Jmeter对API进行性能测试

    先补充刚才测试的部分截图余下,后续详细补充内容. API Test.jmx 如下: <?xml version="1.0" encoding="UTF-8" ...

  5. Intellij IDEA连接Spark集群

    1. 首先安装Scala插件,File->Settings->Plugins,搜索出Scla插件,点击Install安装: 2. File->New Project->mave ...

  6. J2EE框架知识清单

    1:Struts MVC.JVC 2:struts action 3:struts 1.0和2.0区别 4:Spring 核心机制:依赖注入 5:使用Spring容器 6:AOP的概念与应用 7:IO ...

  7. MySQL参数化查询的IN 和 LIKE

    https://stackoverflow.com/questions/650455/c-sharp-parameterized-query-mysql-with-in-clausehttps://s ...

  8. 用RotateDrawable实现网易云音乐唱片机效果

    imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="唱片机" title=""> ...

  9. Knockout学习之控制流绑定器

    控制流绑定器 “foreach”绑定 顾名思义,通过该绑定我们就可以将监控数组循环输出到页面中去了,当然我们还是先来段简单的示例,仅仅只是输出监控数组: <ul data-bind=" ...

  10. mysql加密函数

    md5 password() //案例 mysql> select md5('xiaodeng'); +----------------------------------+ | md5('xi ...