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. Redis实战总结-配置、持久化、复制

    Redis的配置主要放置在redis.conf,可以通过修改配置文件实现Redis许多特性,比如复制,持久化,集群等. redis.conf部分配置详解 # 启动redis,显示加载配置redis.c ...

  2. ElasticSearch5.X—模糊查询和获取所有索引字段

    最近在做一个分布式数据存储的项目,需要用到ElastciSearch加速数据查询,其中部分功能需要进行模糊查询和统计索引库中已经建立的索引字段,网上查阅了很多资料,最终把这两个问题解决了,不容易!下面 ...

  3. linux 常用命令--------雪松整理

    linux 常用命令--------雪松整理 博客: http://hi.baidu.com/quanzhou722/blog错误在所难免,还望指正!========================= ...

  4. iOS编程(双语版) - 视图 - 基本概念

    1. 什么是视图? 视图显示为手机上的一块矩形区域,管理该区域的所有屏幕显示,它是UIView或者UIView的子类. 视图既可以从xib生成,也可以用代码生成. 2. 窗口 窗口是UIWindow或 ...

  5. poj2689 Prime Distance 有难度 埃拉托斯尼斯筛法的运用

    我承认这道很难(对我来说),搞脑子啊,搞了好久,数论刚开始没多久,还不是很强大,思路有点死,主要是我 天赋太差,太菜了,希望多做做有所改善 开始解析: 首先要将在 [ l,u]内的所有素数找出来,还好 ...

  6. ngx_lua实现页面跳转

    好久不用ngx_lua了,忽然被问到如何实现页面跳转,半天没反应过来,查了半天资料搞出来的,在这里做一个备份. 需求说明:***.taobao.com 跳转到 www.taobao.com/?url= ...

  7. javascript将算法复杂度从O(n^2)做到O(n)

    compare the difference of two giving array, return results: 1. elements in both array, 2. elements o ...

  8. Oracle列自增实现(2)-Identity Columns in Oracle Database 12c Release 1 (12.1)

    Oracle列自增-Identity Columns in Oracle Database 12c Release 1 (12.1) 在ORACLE 12C以前的版本中,如果要实现列自增长,需要通过序 ...

  9. HotSpot JVM Component

  10. 【DB2】数据迁移

    数据迁移概述 在日常生活中常有数据的导入导出,为此db2提出了很多工具可以选择,export.import.load.db2look.db2move.db2dart,如下图所示: a.最上面虚线框部分 ...