• Home
  • About
    • 程双双 photo

      程双双

      我慢慢地听雪落下的声音~

    • Learn More
    • Email
    • Github
    • Weibo
  • Posts
    • All Posts
    • All Tags
  • Projects

Carthage安装和使用

27 Mar 2019

Carthage使用

1.安装

brew install carthage
localhost:~ chengshuangshuang$ brew install carthage
Updating Homebrew...
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
ahoy                       homeassistant-cli          postgresql@10
anycable-go                hyperkit                   proper
anyenv                     i2pd                       protoc-gen-go
aom                        i386-elf-binutils          prototool
aravis                     i386-elf-gcc               pulumi
astrometry-net             i386-elf-gdb               pyinstaller
atomist-cli                i386-elf-grub              qalculate-gtk
aws-iam-authenticator      inadyn                     rakudo
aws-okta                   interactive-rebase-tool    rargs
azure-storage-cpp          istioctl                   rbspy
bloaty                     jinja2-cli                 re-flex
bluetoothconnector         jmxterm                    react-native-cli
buildkit                   jp                         redis@4.0
bumpversion                json11                     reprepro
bundletool                 kcov                       riff
c-blosc                    kubeprod                   rke
cafeobj                    kubeseal                   ruby@2.4
carla                      kubespy                    ruby@2.5
cash-cli                   kustomize                  s2geometry
cassandra-reaper           libcerf                    s3ql
cgit                       libgusb                    sd
chafa                      libkeccak                  serve
cmdshelf                   libnova                    sha3sum
cmusfm                     libopenmpt                 shellz
create-dmg                 libpsl                     ship
cryptominisat              libpulsar                  signal-cli
cstore_fdw                 libsignal-protocol-c       simple-scan
curl-openssl               libvirt-glib               skopeo
cwlogs                     libvmaf                    sloc
dav1d                      llvm@6                     smimesign
dhall                      llvm@7                     sn0int
diceware                   lsd                        sng
diskus                     luarocks                   solr@7.7
dmg2img                    luit                       sonobuoy
dnscontrol                 mage                       sourcedocs
dockerize                  mallet                     spice-protocol
easyengine                 man-db                     spirv-cross
eg-examples                maven@3.5                  stanford-corenlp
entityx                    mdbook                     step
eslint                     mesa                       stolon
esptool                    minica                     swagger-codegen@2
fauna-shell                moarvm                     swagger2markup-cli
fff                        needle                     switch-lan-play
ffsend                     nng                        tass64
fluxctl                    node@10                    tdlib
fx                         nqp                        tealdeer
gambit                     nu-smv                     termtosvg
gambit-scheme              nwchem                     tesseract-lang
geant4                     objfw                      tmx
geogram                    oclgrind                   topgrade
gerbil-scheme              opa                        triangle
ghr                        opencv@3                   ucloud
git-absorb                 opensubdiv                 um
gitleaks                   opentracing-cpp            ungit
gitmoji                    operator-sdk               up
gnunet                     osx-cpu-temp               usbredir
go@1.10                    oxipng                     v2ray-plugin
go@1.11                    pagmo                      vfuse
golang-migrate             pass-otp                   vulkan-headers
goreman                    perltidy                   wcslib
grpcurl                    peru                       websocat
gtranslator                petsc-complex              wsk
h3                         phpmd                      wskdeploy
healpix                    picat                      zlog
hexyl                      pict                       zydis
==> Updated Formulae
gdbm ✔                                   libgit2
icu4c ✔                                  libgit2-glib
node ✔                                   libglademm
openssl ✔                                libgnomecanvasmm
pcre ✔                                   libgosu
python@2 ✔                               libgpg-error
readline ✔                               libgphoto2
sqlite ✔                                 libgsf
watchman ✔                               libgtop
abcde                                    libgweather
abcm2ps                                  libgxps
abcmidi                                  libhdhomerun
abook                                    libheif
abyss                                    libhttpserver
ace                                      libical
ack                                      libidn2
acpica                                   libimagequant
activemq                                 libimobiledevice
activemq-cpp                             libiscsi
advancecomp                              libjson-rpc-cpp
advancemame                              libjwt
adwaita-icon-theme                       liblcf
aescrypt-packetizer                      liblo
afflib                                   liblwgeom
afio                                     libmagic
agda                                     libmatio
agedu                                    libmicrohttpd
aha                                      libmspub
aide                                     libmxml
aircrack-ng                              libnice
akamai                                   libomp
alexjs                                   libopendkim
algernon                                 libopkele
allegro                                  libopusenc
allure                                   libosinfo
alluxio                                  libosmium
amazon-ecs-cli                           libpcap
ammonite-repl                            libphonenumber
amqp-cpp                                 libplctag
angle-grinder                            libplist
angular-cli                              libpng
anjuta                                   libpointing
annie                                    libpq
ansible                                  libpqxx
ansible-cmdb                             libproxy
ansible-lint                             libpst
ansifilter                               libqalculate
antlr                                    librasterlite
antlr4-cpp-runtime                       libraw
antlr@2                                  librdkafka
apache-arrow                             libre
apache-arrow-glib                        libreadline-java
apache-drill                             librealsense
apache-flink                             libressl
apache-geode                             librsvg
apache-opennlp                           librtlsdr
apache-spark                             libsamplerate
apache-zeppelin                          libsass
ape                                      libsecret
apibuilder-cli                           libsigc++
apktool                                  libsodium
app-engine-java                          libsoup
appledoc                                 libspatialite
apr                                      libspectre
apt-dater                                libssh
aptly                                    libssh2
arangodb                                 libstfl
arcade-learning-environment              libswiften
argus-clients                            libtcod
aria2                                    libtensorflow
arm-linux-gnueabihf-binutils             libtermkey
armadillo                                libtiff
armor                                    libtins
arp-scan                                 libtorrent-rasterbar
arpack                                   libu2f-host
artifactory                              libuninameslist
arx                                      libuv
asciidoc                                 libvirt
asciidoctor                              libvisio
asciidoctorj                             libvoikko
asciinema                                libvpx
asdf                                     libvterm
asio                                     libwbxml
ask-cli                                  libwebsockets
aspcud                                   libxc
aspectj                                  libxlsxwriter
atdtool                                  libxml++
atk                                      libxml++3
atkmm                                    libxml2
atlassian-cli                            libxmlsec1
atomicparsley                            libxslt
ats2-postiats                            libyaml
aubio                                    libzip
audacious                                lighttpd
auditbeat                                linkerd
augeas                                   links
augustus                                 liquibase
aurora                                   liquigraph
aurora-cli                               livestreamer
autoconf-archive                         lldpd
autogen                                  llnode
autopep8                                 llvm
autorest                                 llvm@3.9
autossh                                  llvm@4
avfs                                     llvm@5
avian                                    lmdb
avrdude                                  lmod
avro-c                                   lnav
awk                                      log4cplus
aws-elasticbeanstalk                     logentries
aws-es-proxy                             logrotate
aws-sdk-cpp                              logstalgia
aws-shell                                logstash
awscli                                   logtalk
awslogs                                  lolcat
axel                                     lrzsz
azure-cli                                lsdvd
b2-tools                                 ltc-tools
babel                                    lua
babeld                                   lua@5.1
babl                                     luaradio
backupninja                              lumo
bacula-fd                                luvit
ballerina                                lxc
baobab                                   lynis
bartycrouch                              lz4
basex                                    lzlib
bash                                     mackup
bash-snippets                            macvim
bashdb                                   mafft
bat                                      magic-wormhole
batik                                    magnetix
bazel                                    mailutils
bcal                                     makensis
bde                                      mame
bdw-gc                                   mandoc
beagle                                   mapcrafter
bear                                     mapnik
beast                                    mapserver
bedops                                   mariadb
bee                                      mariadb-connector-c
befunge93                                mariadb@10.0
bench                                    mariadb@10.1
bento4                                   mariadb@10.2
bettercap                                mas
bgpdump                                  math-comp
bgpq3                                    maven
bgpstream                                maxima
bibtexconv                               maxwell
bibutils                                 mbedtls
bigloo                                   mdbtools
binaryen                                 mdcat
bind                                     mdds
bindfs                                   mdk
binutils                                 mdp
binwalk                                  mdv
bison                                    media-info
bit                                      mednafen
bitcoin                                  megacmd
bitrise                                  megatools
bitwarden-cli                            memcached
black                                    menhir
blackbox                                 mercurial
blahtexml                                meson
blast                                    meson-internal
blastem                                  mesos
blink1                                   metabase
bluepill                                 metaproxy
blueutil                                 metashell
bmake                                    metricbeat
bnd                                      mgba
boost                                    micronaut
boost-bcp                                micropython
boost-build                              midnight-commander
boost-mpi                                mikutter
boost-python                             mill
boost-python3                            miller
botan                                    mimic
bower                                    mingw-w64
bowtie2                                  minimal-racket
boxes                                    minimesos
braid                                    minio
brew-gem                                 minio-mc
brew-php-switcher                        miniserve
bro                                      minizinc
brogue                                   mint
brotli                                   mitie
btfs                                     mkcert
buildifier                               mkclean
buku                                     mkdocs
bullet                                   mkl-dnn
bup                                      mkvtoolnix
burp                                     mlkit
bwfmetaedit                              mlt
bwm-ng                                   mmark
byteman                                  mmseqs2
bzt                                      mockserver
c-ares                                   modd
c10t                                     modules
cabal-install                            mogenerator
cabextract                               monero
cadaver                                  monetdb
caddy                                    mongo-c-driver
caf                                      mongo-cxx-driver
caffe                                    mongo-orchestration
cairo                                    mongodb
cairomm                                  mongodb@3.0
cake                                     mongodb@3.2
calabash                                 mongodb@3.4
calc                                     mongodb@3.6
calcurse                                 mongoose
calicoctl                                monit
camlp5                                   mono
capnp                                    moreutils
capstone                                 mosh
cargo-completion                         mosquitto
carrot2                                  mozjpeg
carthage                                 mpc
cassandra                                mpd
cassandra@2.1                            mpfr
cassandra@2.2                            mpich
cataclysm                                mplayer
catimg                                   mplayershell
cayley                                   mps-youtube
ccache                                   mpv
ccextractor                              mrboom
cclive                                   mruby
ccm                                      mscgen
ccrypt                                   msgpack
cdk                                      mu
cdogs-sdl                                mujs
ceres-solver                             multimarkdown
cern-ndiff                               muparser
certbot                                  mupdf
certigo                                  mupdf-tools
cfengine                                 mutt
cfitsio                                  mycli
cflow                                    mysql
cfr-decompiler                           mysql-client
cgal                                     mysql-cluster
cgdb                                     mysql@5.5
cglm                                     mysql@5.6
chakra                                   mysql@5.7
chamber                                  mysqltuner
chapel                                   n
cheat                                    nagios
check_postgres                           nailgun
checkbashisms                            nano
checkstyle                               nanomsg
chezscheme                               nasm
chicken                                  nativefier
chisel                                   nats-streaming-server
chkrootkit                               naturaldocs
choose                                   nave
chrome-cli                               ncdu
chrome-export                            ncmpcpp
chronograf                               nco
chruby-fish                              ncompress
cimg                                     ncview
circleci                                 ne
citus                                    neko
ckan                                     neo4j
clamav                                   neofetch
clang-format                             neovim
clblast                                  netcdf
cli53                                    netdata
click                                    netpbm
cling                                    nettle
clingo                                   newlisp
clipper                                  newsboat
clipsafe                                 nexus
clisp                                    nghttp2
cloc                                     nginx
clojure                                  ngircd
clojurescript                            ngspice
closure-compiler                         nickle
clutter-gst                              nicovideo-dl
cmake                                    nifi
cmark-gfm                                nifi-registry
cmocka                                   nim
cmus                                     ninja
cnats                                    nkf
cockroach                                nmh
cocoapods                                nnn
codemod                                  node-build
codequery                                node@6
coffeescript                             node@8
cointop                                  nodebrew
collada-dom                              nodeenv
collectd                                 nodenv
collector-sidecar                        nomad
commandbox                               nordugrid-arc
compcert                                 nsd
composer                                 nspr
conan                                    nsq
configen                                 nss
confluent-oss                            ntl
confuse                                  ntopng
conjure-up                               ntp
conserver                                nu
console_bridge                           numpy
consul                                   nuxeo
consul-template                          nvm
container-diff                           nyancat
convox                                   nyx
cookiecutter                             nzbget
coq                                      objc-codegenutils
coreutils                                ocaml
coturn                                   ocaml-num
couchdb                                  ocamlbuild
cp2k                                     ocamlsdl
cpanminus                                ocrmypdf
cpmtools                                 octave
cppad                                    odpi
cppcheck                                 offlineimap
cppcms                                   ohcount
cpprestsdk                               ompl
cproto                                   oniguruma
cquery                                   onscripter
crc32c                                   opam
credstash                                open-babel
cromwell                                 open-mpi
crosstool-ng                             open-scene-graph
crowdin                                  openal-soft
cryfs                                    openapi-generator
cryptopp                                 openblas
crystal                                  opencascade
crystal-icr                              opencc
cscope                                   openclonk
csfml                                    opencoarrays
csv-fix                                  openconnect
csvkit                                   opencv
ctop                                     opencv@2
cucumber-cpp                             opendbx
curaengine                               opendetex
curl                                     openfortivpn
curlpp                                   openimageio
cvs2svn                                  openldap
cython                                   openmsx
czmq                                     openrct2
dar                                      openrtsp
darcs                                    opensaml
darksky-weather                          opensc
dartsim                                  openshift-cli
dash                                     openssh
dasht                                    openssl@1.1
dateutils                                opentsdb
davix                                    openvdb
davmail                                  opus
dbhash                                   opus-tools
dbus                                     opusfile
dbxml                                    orc-tools
dcd                                      ori
dcm2niix                                 ortp
dcmtk                                    osc
ddgr                                     osm-pbf
ddrescue                                 osm2pgrouting
deark                                    osm2pgsql
debianutils                              osmium-tool
deja-gnu                                 osquery
dep                                      osrm-backend
dependency-check                         overmind
deployer                                 oysttyer
derby                                    p11-kit
devd                                     pacapt
devtodo                                  packer
dfmt                                     pacvim
dhall-json                               paket
dhex                                     pandoc
dialog                                   pandoc-citeproc
diamond                                  pandoc-crossref
diff-pdf                                 pango
diff-so-fancy                            pangomm
diffoscope                               parallel
diffstat                                 parallelstl
diffutils                                pari
digdag                                   pass
digitemp                                 passenger
direnv                                   passpie
dita-ot                                  payara
django-completion                        pazpar2
dlib                                     pc6001vx
dmd                                      pce
dmenu                                    pcl
dnscrypt-proxy                           pcre2
dnscrypt-wrapper                         pdal
dnsmasq                                  pdf2htmlex
dnsperf                                  pdfgrep
dnstwist                                 pdfpc
dnsviz                                   pdfsandwich
docfx                                    pdftoedn
docker                                   pdftoipe
docker-completion                        pdns
docker-compose                           pdnsrec
docker-compose-completion                pdsh
docker-credential-helper-ecr             pegtl
docker-ls                                percol
docker-machine                           percona-server
docker-machine-completion                percona-toolkit
docker-machine-driver-xhyve              perl
docker-machine-nfs                       perl-build
docker-machine-parallels                 petsc
docker-squash                            pgbadger
doctl                                    pgcli
docutils                                 pgformatter
doitlive                                 pgloader
dosbox                                   pgroonga
dosbox-x                                 pgrouting
double-conversion                        pgweb
dovecot                                  phoronix-test-suite
doxygen                                  php
dpkg                                     php-code-sniffer
draco                                    php-cs-fixer
dropbear                                 php@7.1
druid                                    phpmyadmin
dscanner                                 phpunit
dspdfviewer                              picard-tools
dssim                                    pig
dtc                                      pijul
dub                                      pike
duc                                      pilosa
duck                                     pioneer
duo_unix                                 pioneers
duplicity                                pip-completion
dvm                                      pipenv
dwarf                                    pius
dwarfutils                               pixman
dwdiff                                   pixz
dwm                                      pkcs11-helper
dxpy                                     pktanon
dyld-headers                             planck
dynamips                                 plank
dynare                                   plantuml
e2fsprogs                                platformio
eccodes                                  plplot
ed                                       pmd
editorconfig                             pngquant
efl                                      podofo
eiffelstudio                             points2grid
eigen                                    polyml
ejabberd                                 pony-stable
ekg2                                     ponyc
elasticsearch                            poppler
elasticsearch@5.6                        portmidi
elektra                                  posh
elixir                                   postgis
elm                                      postgres-xc
elm-format                               postgresql
emacs-clang-complete-async               postgresql@9.4
embulk                                   postgresql@9.5
emscripten                               postgresql@9.6
encfs                                    povray
enet                                     powerman
enigma                                   ppsspp
envconsul                                pqiv
eprover                                  pre-commit
epubcheck                                precomp
eralchemy                                prefixsuffix
erlang                                   prest
erlang@17                                presto
erlang@18                                prettier
erlang@19                                primesieve
erlang@20                                prips
etcd                                     profanity
ethereum                                 proj
euler-py                                 prometheus
evince                                   proselint
exercism                                 protobuf
exiftool                                 protobuf-c
exiv2                                    protobuf-swift
exomizer                                 protobuf@3.1
expat                                    proxychains-ng
exploitdb                                ps2eps
eye-d3                                   pspg
faas-cli                                 psql2csv
fabio                                    ptex
fabric                                   pulledpork
fail2ban                                 pulseaudio
fastbit                                  pumba
fastqc                                   purescript
fatsort                                  pushpin
fb-client                                puzzles
fbi-servefiles                           pwntools
fcl                                      pwsafe
fd                                       py2cairo
fdk-aac                                  py3cairo
fdk-aac-encoder                          pybind11
feedgnuplot                              pycodestyle
feh                                      pyenv
ffmpeg                                   pygitup
ffmpeg2theora                            pygobject3
ffmpeg@2.8                               pyinvoke
ffmpegthumbnailer                        pypy
ffms2                                    pypy3
fibjs                                    pyside
field3d                                  python
fifechan                                 python-markdown
file-formula                             python-yq
file-roller                              q
fio                                      qbs
firebase-cli                             qcachegrind
fish                                     qcli
flac                                     qd
flake8                                   qemu
flann                                    qjackctl
flatbuffers                              qmmp
flatcc                                   qpdf
flow                                     qpid-proton
fltk                                     qt
fluent-bit                               qtkeychain
fluid-synth                              quex
flume                                    quicktype
flyway                                   r
fmpp                                     rabbitmq
fmsx                                     radare2
fmt                                      rakudo-star
fn                                       rancher-cli
fobis                                    range-v3
folly                                    ranger
fontconfig                               rawtoaces
fontforge                                rbenv
fonttools                                rclone
ford                                     rdesktop
fork-cleaner                             rdfind
fortio                                   re2
fossil                                   re2c
fpc                                      recon-ng
fping                                    recutils
fq                                       redis
freeciv                                  redis@3.2
freeling                                 redo
freeswitch                               remarshal
freetds                                  rename
freetds@0.91                             renameutils
freetype                                 repo
freexl                                   restic
frugal                                   restview
fruit                                    rethinkdb
fselect                                  rgbds
fswatch                                  rhash
fuseki                                   riak
futhark                                  riemann-client
fwup                                     ripgrep
fzf                                      rlwrap
fzy                                      rmlint
gammaray                                 robot-framework
gandi.cli                                rocksdb
gauche                                   rom-tools
gauge                                    root
gawk                                     roswell
gcab                                     rp
gcc                                      rpm
gcc@6                                    rst-lint
gcc@7                                    rswift
gdal                                     rsyslog
gdb                                      rtags
gdcm                                     rtv
gdk-pixbuf                               ruby
gearboy                                  ruby-build
gearman                                  ruby@2.0
gearsystem                               ruby@2.3
geckodriver                              rust
gecode                                   rustup-init
gedit                                    s-search
geeqie                                   s3cmd
gegl                                     s3fs
genometools                              s6
genstats                                 safe
geocode-glib                             sagittarius-scheme
geoipupdate                              salt
geos                                     saxon
get_iplayer                              sbcl
getdns                                   sbt
gexiv2                                   sbt@0.13
gflags                                   scala
ghc                                      scalaenv
ghc@8.2                                  scalapack
ghostscript                              scalariform
gibo                                     sccache
giflib                                   sceptre
gifski                                   schismtracker
gimme                                    scipy
ginac                                    scour
git                                      scrcpy
git-annex                                scummvm
git-archive-all                          scw
git-cinnabar                             sdb
git-cola                                 sdcc
git-credential-manager                   sdcv
git-extras                               sdf
git-fixup                                sdl2
git-flow-avh                             sdl2_image
git-fresh                                sdl2_mixer
git-ftp                                  sec
git-lfs                                  securefs
git-open                                 selenium-server-standalone
git-quick-stats                          serveit
git-recent                               serverless
git-review                               servus
git-secret                               sf-pwgen
git-secrets                              sfcgal
git-sizer                                sfml
git-standup                              shadowsocks-libev
git-subrepo                              shairport-sync
gitbucket                                shared-mime-info
gitfs                                    shc
gitg                                     shellcheck
github-keygen                            shellharden
github-markdown-toc                      shellshare
gitlab-gem                               shfmt
gitlab-runner                            shibboleth-sp
gitless                                  shmux
gitup                                    shocco
gitversion                               shogun
gjs                                      shpotify
glances                                  siege
glbinding                                signify-osx
glib                                     sile
glib-networking                          simh
glibmm                                   simple-amqp-client
glide                                    simple-mtpfs
glm                                      simple-tiles
global                                   simutrans
globjects                                singular
glog                                     sip
gloox                                    siril
glslang                                  skaffold
glslviewer                               skafos
gmic                                     skinny
gmime                                    skktools
gmsh                                     sl
gmt                                      slackcat
gmt@4                                    sleuthkit
gnatsd                                   smali
gnome-builder                            smartmontools
gnome-latex                              smlnj
gnome-recipes                            snapcraft
gnu-chess                                snappystream
gnu-indent                               snapraid
gnu-sed                                  sngrep
gnu-smalltalk                            socat
gnu-tar                                  soci
gnu-units                                softhsm
gnumeric                                 solr
gnupg                                    sonar-scanner
gnupg-pkcs11-scd                         sonarqube
gnuplot                                  sops
gnuplot@4                                sound-touch
gnuradio                                 source-highlight
gnutls                                   source-to-image
go                                       sourcekitten
go-bindata                               sourcery
go-statik                                sox
go@1.9                                   spades
goaccess                                 spatialindex
gobby                                    spatialite-gui
gobject-introspection                    spatialite-tools
gobuster                                 spdlog
gocr                                     speedtest-cli
gocryptfs                                sphinx
godep                                    sphinx-doc
goenv                                    spidermonkey
goffice                                  spoof-mac
gomplate                                 spotbugs
google-benchmark                         sqlcipher
google-java-format                       sqldiff
googler                                  sqlite-analyzer
goolabs                                  sqlmap
gopass                                   sqlparse
goreleaser                               squashfs
gosu                                     squid
gource                                   sratoolkit
gowsdl                                   ssh-copy-id
gpa                                      ssh-permit-a38
gpac                                     sshconfigfs
gpgme                                    sshtrix
gphoto2                                  sshuttle
gprof2dot                                sslmate
gpsbabel                                 sslscan
gqlplus                                  statik
gr-osmosdr                               stellar-core
gradio                                   stern
gradle                                   stgit
gradle-completion                        stk
grafana                                  stlink
grails                                   stockfish
grakn                                    stone-soup
graph-tool                               stormpath-cli
graphicsmagick                           stormssh
graphite2                                streamlink
grep                                     strongswan
grib-api                                 stubby
grip                                     stunnel
groff                                    subversion
gromacs                                  sundials
groonga                                  supersonic
groovy                                   supertux
groovysdk                                supervisor
grpc                                     suricata
grunt-cli                                svgo
grunt-completion                         svtplay-dl
grv                                      swagger-codegen
gsettings-desktop-schemas                swi-prolog
gsmartcontrol                            swift
gsoap                                    swift-protobuf
gspell                                   swiftformat
gssdp                                    swiftgen
gst-editing-services                     swiftlint
gst-libav                                swimat
gst-plugins-bad                          switchaudio-osx
gst-plugins-base                         sxiv
gst-plugins-good                         sync_gateway
gst-plugins-ugly                         syncthing
gst-python                               synfig
gst-rtsp-server                          sysbench
gst-validate                             sysdig
gstreamer                                takt
gstreamermm                              tarantool
gtk+3                                    tarsnap-gui
gtk-doc                                  tarsnapper
gtk-mac-integration                      task
gtk-vnc                                  taskell
gtkmm                                    tbb
gtkmm3                                   tcc
gtksourceview3                           tcl-tk
gtksourceviewmm                          tcpdump
gtksourceviewmm3                         tcpflow
gtkspell3                                tcpreplay
gucharmap                                tectonic
guile                                    telegraf
guile@2.0                                telegram-cli
gupnp-av                                 teleport
gupnp-tools                              telnet
gwyddion                                 template-glib
gx                                       temporal_tables
gx-go                                    tepl
gzip                                     terminal-notifier
hadolint                                 termius
hadoop                                   termrec
handbrake                                terraform
hapi-fhir-cli                            terraform-docs
haproxy                                  terraform-inventory
harfbuzz                                 terraform_landscape
hashpump                                 terragrunt
haskell-stack                            tesseract
haste-client                             testssl
hbase                                    texinfo
hcloud                                   texmath
hdf5                                     tgui
hdf5@1.8                                 the_platinum_searcher
hebcal                                   thefuck
helmfile                                 theharvester
help2man                                 thors-serializer
hexgui                                   thrift
hfstospell                               tig
hg-fast-export                           tiger-vnc
highlight                                tika
hiredis                                  tile38
hive                                     timidity
hivemind                                 tinc
hledger                                  tintin
hlint                                    tinyproxy
hmmer                                    tinyxml2
homebank                                 tippecanoe
honcho                                   titlecase
howard-hinnant-date                      tmate
howdoi                                   tmux
hss                                      tmux-mem-cpu-load
htmldoc                                  tmux-xpanes
htop                                     tmuxinator-completion
http-parser                              tokei
httpd                                    tomcat
httpie                                   tomcat-native
hub                                      tomcat@7
hugo                                     tomcat@8
hunspell                                 tomee-webprofile
hwloc                                    tor
hydra                                    tox
hyperfine                                trace2html
hyperscan                                tracebox
i2p                                      traefik
iamy                                     trafficserver
ibex                                     translate-shell
icdiff                                   translate-toolkit
ice                                      trash-cli
icecream                                 travis
icemon                                   tree
idris                                    treefrog
igv                                      trezor-agent
ike-scan                                 tty-solitaire
imagemagick                              ttyd
imagemagick@6                            tundra
imageoptim-cli                           tunnel
imageworsener                            tup
imapfilter                               tvnamer
immortal                                 twarc
inetutils                                twine-pypi
influxdb                                 twoping
innotop                                  typescript
inspircd                                 ubertooth
instead                                  uftp
internetarchive                          uhd
ioping                                   umlet
ios-deploy                               unbound
ios-sim                                  uncrustify
ios-webkit-debug-proxy                   unnethack
iperf                                    unoconv
ipfs                                     unp64
iproute2mac                              unrar
ipv6calc                                 unshield
ipython                                  unzip
iso-codes                                upscaledb
ispc                                     upx
isync                                    urbit
itstool                                  urdfdom
jabba                                    urdfdom_headers
jadx                                     urh
jansson                                  uriparser
jasper                                   uru
jbake                                    urweb
jbig2dec                                 userspace-rcu
jboss-forge                              util-linux
jdnssec-tools                            v8
jdupes                                   vagrant-completion
jena                                     vala
jenkins                                  valabind
jenkins-job-builder                      valgrind
jenkins-lts                              vapoursynth
jenv                                     varnish
jerasure                                 vault
jetty                                    vaulted
jetty-runner                             vc4asm
jflex                                    vegeta
jfrog-cli-go                             verilator
jhipster                                 vert.x
jid                                      vice
jmeter                                   vifm
jo                                       vim
joplin                                   vim@7.4
jpeg-turbo                               vips
jq                                       virtuoso
jrnl                                     visp
jruby                                    vnu
json-fortran                             voldemort
json-glib                                vorbis-tools
jsoncpp                                  vowpal-wabbit
jsonnet                                  vrpn
jsonrpc-glib                             vsts-cli
juju                                     vte
juju-wait                                vte3
jump                                     vtk
just                                     vultr
kafka                                    w3m
kakoune                                  wabt
kallisto                                 wakatime-cli
kapacitor                                wallpaper
kerl                                     wartremover
kettle                                   watchexec
khal                                     watson
kibana                                   wdiff
kibana@5.6                               weaver
kitchen-sync                             weboob
knot                                     webp
knot-resolver                            webpack
kobalt                                   weechat
kompose                                  wellington
konoha                                   wesnoth
kontena                                  wget
kops                                     when
kore                                     whois
kotlin                                   widelands
kpcli                                    wildfly-as
krakend                                  wine
krb5                                     winetricks
ktmpl                                    wireguard-go
kube-aws                                 wireguard-tools
kube-ps1                                 wireshark
kubectx                                  with-readline
kubeless                                 woboq_codebrowser
kubernetes-cli                           wolfssl
kubernetes-helm                          wp-cli
kubernetes-service-catalog-client        wp-cli-completion
kumo                                     wpscan
kyoto-cabinet                            wtf
lablgtk                                  wxmaxima
lammps                                   x264
landscaper                               x265
languagetool                             xalan-c
lasso                                    xapian
lastpass-cli                             xcodegen
laszip                                   xcproj
latex2html                               xctool
latexdiff                                xdot
lcm                                      xerces-c
lcov                                     xmake
ldapvi                                   xml-security-c
ldc                                      xml-tooling-c
lean                                     xmount
lean-cli                                 xmrig
ledger                                   xonsh
legit                                    xpa
lego                                     xqilla
leiningen                                xsd
leptonica                                xsimd
less                                     xtensor
lf                                       xxhash
lftp                                     yafc
lgogdownloader                           yaml-cpp
libarchive                               yamllint
libassuan                                yank
libatomic_ops                            yara
libav                                    yarn
libbi                                    yasm
libbitcoin                               yaz
libbitcoin-blockchain                    ydcv
libbitcoin-client                        yelp-tools
libbitcoin-database                      ykman
libbitcoin-explorer                      ykpers
libbitcoin-network                       yle-dl
libbitcoin-node                          yosys
libbitcoin-protocol                      you-get
libbitcoin-server                        youtube-dl
libbladerf                               yq
libbluray                                yubico-piv-tool
libbtbb                                  z3
libccd                                   zabbix
libcdr                                   zanata-client
libcds                                   zbackup
libcec                                   zebra
libchaos                                 zenity
libcouchbase                             zeromq
libdazzle                                zig
libdill                                  zile
libdvdread                               zim
libedit                                  zimg
libepoxy                                 zmqpp
liberasurecode                           znc
libetpan                                 zookeeper
libextractor                             zorba
libfabric                                zpython
libfreehand                              zsh
libgaiagraphics                          zsh-autosuggestions
libgcrypt                                zsh-completions
libgda                                   zstd
libgeotiff                               zurl
==> Renamed Formulae
ark -> velero                            mat -> mat2
gloo-ctl -> glooctl                      php72 -> php@7.2
gtksourceview@4 -> gtksourceview4        rebar@3 -> rebar3
gutenberg -> zola                        resin-cli -> balena-cli
hh -> hstr                               todolist -> ultralist
==> Deleted Formulae
amber               gnome-doc-utils     maven@3.0           qt@5.5
apple-gcc42         gnupg@2.0           maven@3.1           queequeg
aptly-completion    go@1.4              mediatomb           reclass
asciinema2gif       go@1.8              mimms               redis@2.8
at-spi2-atk         gpg-agent           monax               rock
at-spi2-core        gradle@2.14         nesemu2             ruby@1.8
casperjs            gv                  nethack4            ruby@2.2
cctools             hachoir-metadata    node@4              sary
cctools-headers     heroku              onepass             sickbeard
corebird            hyper               open-vcdiff         solr@5.5
cputhrottle         ib                  opensyobon          sonarlint
datomic             juju-quickstart     percona-server@5.6  submarine
dirmngr             kibana@4.4          php@5.6             taylor
ffmbc               ld64                php@7.0             tcptrack
gdnsd               liblastfm           pldebugger          tmux-cssh
ghc@8.0             llvm@3.7            pxz                 zxing-cpp
gjstest             lsh                 pyexiv2

==> Downloading https://homebrew.bintray.com/bottles/carthage-0.32.0.mojave.bott
######################################################################## 100.0%
==> Pouring carthage-0.32.0.mojave.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/carthage
Target /usr/local/bin/carthage
already exists. You may want to remove it:
  rm '/usr/local/bin/carthage'

To force the link and overwrite all conflicting files:
  brew link --overwrite carthage

To list all files that would be deleted:
  brew link --overwrite --dry-run carthage

Possible conflicting files are:
/usr/local/bin/carthage
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/carthage/0.32.0: 69 files, 25.2MB
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/icu4c-62.1.high_sierra.bottle.tar.gz... (25.5MB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/python@2-2.7.15_1.high_sierra.bottle.1.tar.gz... (18.3MB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/node-10.8.0.high_sierra.bottle.tar.gz... (13MB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/openssl-1.0.2o_2.high_sierra.bottle.tar.gz... (3.7MB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/linkage.db... (60KB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/gdbm-1.17.high_sierra.bottle.tar.gz... (190.7KB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/readline-7.0.5.high_sierra.bottle.tar.gz... (494KB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/pcre-8.42.high_sierra.bottle.tar.gz... (1.8MB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/watchman-4.9.0.high_sierra.bottle.tar.gz... (524.9KB)
Removing: /Users/chengshuangshuang/Library/Caches/Homebrew/sqlite-3.24.0.high_sierra.bottle.tar.gz... (1.7MB)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/python@2... (3 files, 123.8KB)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/gdbm... (64B)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/icu4c... (64B)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/readline... (64B)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/sqlite... (64B)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/watchman... (321B)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/pcre... (64B)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/node... (64B)
Removing: /Users/chengshuangshuang/Library/Logs/Homebrew/openssl... (64B)
Pruned 0 symbolic links and 7 directories from /usr/local
localhost:~ chengshuangshuang$ 

安装完成后查看版本

localhost:~ chengshuangshuang$ carthage version
Please update to the latest Carthage version: 0.32.0. You currently are on 0.27.0
0.27.0
localhost:~ chengshuangshuang$ carthage version
0.32.0
localhost:~ chengshuangshuang$ 

升级Carthage

localhost:~ chengshuangshuang$ brew upgrade carthage
Error: carthage 0.32.0 already installed
localhost:~ chengshuangshuang$ carthage version
Please update to the latest Carthage version: 0.32.0. You currently are on 0.27.0
0.27.0
localhost:~ chengshuangshuang$ brew uninstall carthage
Uninstalling /usr/local/Cellar/carthage/0.32.0... (69 files, 25.2MB)
localhost:~ chengshuangshuang$ carthage version
Please update to the latest Carthage version: 0.32.0. You currently are on 0.27.0
0.27.0
localhost:~ chengshuangshuang$ brew install carthage
==> Downloading https://homebrew.bintray.com/bottles/carthage-0.32.0.mojave.bott
Already downloaded: /Users/chengshuangshuang/Library/Caches/Homebrew/downloads/8b63911fc554a38a05e3e4210b86fe980e630ecc6830e72aaa8c22da808763d6--carthage-0.32.0.mojave.bottle.tar.gz
==> Pouring carthage-0.32.0.mojave.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/carthage
Target /usr/local/bin/carthage
already exists. You may want to remove it:
  rm '/usr/local/bin/carthage'

To force the link and overwrite all conflicting files:
  brew link --overwrite carthage

To list all files that would be deleted:
  brew link --overwrite --dry-run carthage

Possible conflicting files are:
/usr/local/bin/carthage
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/carthage/0.32.0: 69 files, 25.2MB
localhost:~ chengshuangshuang$ carthage version
Please update to the latest Carthage version: 0.32.0. You currently are on 0.27.0
0.27.0
localhost:~ chengshuangshuang$ brew uninstall carthage
Uninstalling /usr/local/Cellar/carthage/0.32.0... (69 files, 25.2MB)
localhost:~ chengshuangshuang$ rm '/usr/local/bin/carthage'
override rwxr-xr-x  root/wheel for /usr/local/bin/carthage? 
localhost:~ chengshuangshuang$ rm '/usr/local/bin/carthage'
override rwxr-xr-x  root/wheel for /usr/local/bin/carthage? yes
localhost:~ chengshuangshuang$ carthage version
-bash: /usr/local/bin/carthage: No such file or directory
localhost:~ chengshuangshuang$ brew install carthage
==> Downloading https://homebrew.bintray.com/bottles/carthage-0.32.0.mojave.bott
Already downloaded: /Users/chengshuangshuang/Library/Caches/Homebrew/downloads/8b63911fc554a38a05e3e4210b86fe980e630ecc6830e72aaa8c22da808763d6--carthage-0.32.0.mojave.bottle.tar.gz
==> Pouring carthage-0.32.0.mojave.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/carthage/0.32.0: 69 files, 25.2MB
localhost:~ chengshuangshuang$ carthage version
0.32.0
localhost:~ chengshuangshuang$ 

2.使用

(1)cd到项目所在文件夹 cd TestPods

(2)创建Carthage文件 touch Carthage

(3)编辑Carthage文件为

git "https://github.com/AFNetworking/AFNetworking.git"

git "https://github.com/zhao0/ReactiveCocoa.git" == 2.5.2

(4)安装或更新carthage update --platform iOS,需要加上platform,否则不加上的话就会生成iOS,macOS,tvOS,watchOS等的XXXX.xcworkspace.

localhost:~ chengshuangshuang$ brew -v
Homebrew 2.0.6
Homebrew/homebrew-core (git revision 796f8; last commit 2019-03-26)
localhost:~ chengshuangshuang$ cd desktop
localhost:desktop chengshuangshuang$ cd Demo
localhost:Demo chengshuangshuang$ cd TestPods/
localhost:TestPods chengshuangshuang$ touch Cartfile
localhost:TestPods chengshuangshuang$ open Cartfile 
localhost:TestPods chengshuangshuang$ carthage update --platform iOS
Please update to the latest Carthage version: 0.32.0. You currently are on 0.27.0
*** Cloning AFNetworking
*** Checking out AFNetworking at "3.2.1"
*** xcodebuild output can be found in /var/folders/xd/nxn2kvn532b2rq7phvlzxm2m0000gn/T/carthage-xcodebuild.datMk0.log
*** Building scheme "AFNetworking iOS" in AFNetworking.xcworkspace
localhost:TestPods chengshuangshuang$ 

localhost:TestPods chengshuangshuang$ carthage update --platform iOS
*** Fetching ReactiveCocoa
*** Fetching AFNetworking
*** Checking out AFNetworking at "3.2.1"
*** Checking out ReactiveCocoa at "2.5.2"
*** xcodebuild output can be found in /var/folders/xd/nxn2kvn532b2rq7phvlzxm2m0000gn/T/carthage-xcodebuild.MpQRfp.log
*** Building scheme "AFNetworking iOS" in AFNetworking.xcworkspace
*** Building scheme "ReactiveCocoa iOS" in ReactiveCocoa.xcworkspace
localhost:TestPods chengshuangshuang$ 

(5)文件目录说明

Carthage/Checkouts: 从github获取的源代码

Carthage/Build: 编译出来的framework二进制代码库

(6)配置项目

<1>打开项目,点击Target->Build Phases->Link Library with Libraries,选择Carthage/Build目录中要导入的framework

<2>添加编译的脚本,该脚本文件保证再提交归档时会对相关文件和dSYMs进行复制

点击Build Phases,点击+ —> New Run Script Phase

①添加脚本 /usr/local/bin/Carthage copy-frameworks

②添加”Input Files”

$(SRCROOT)/Carthage/Build/iOS/AFNetworking.framework $(SRCROOT)/Carthage/Build/iOS/ReactiveCocoa.framework

……

等等.

(7)调用

// 正确写法
#import <AFNetworking/AFNetworking.h>
//#import <ReactiveCocoa/ReactiveCocoa.h>
#import "ReactiveCocoa/ReactiveCocoa.h"

// 错误写法
//#import "AFNetworking.h"
//#import "ReactiveCocoa.h"

(8)卸载Carthage: brew uninstall carthage

localhost:~ chengshuangshuang$ brew uninstall carthage
Uninstalling /usr/local/Cellar/carthage/0.32.0... (69 files, 25.2MB)
localhost:TestPods chengshuangshuang$

(9)更新第三方框架:

<1>更新多个框架: carthage update --platform iOS

localhost:TestPods chengshuangshuang$ carthage update --platform iOS
*** Fetching ReactiveCocoa
*** Fetching AFNetworking
*** Checking out AFNetworking at "3.2.1"
*** Checking out ReactiveCocoa at "2.5.2"
*** xcodebuild output can be found in /var/folders/xd/nxn2kvn532b2rq7phvlzxm2m0000gn/T/carthage-xcodebuild.MpQRfp.log
*** Building scheme "AFNetworking iOS" in AFNetworking.xcworkspace
*** Building scheme "ReactiveCocoa iOS" in ReactiveCocoa.xcworkspace
localhost:TestPods chengshuangshuang$

<2>更新某个框架: carthage update ReactiveCocoa --platform iOS

localhost:TestPods chengshuangshuang$ carthage update ReactiveCocoa --platform iOS
*** Fetching AFNetworking
*** Fetching ReactiveCocoa
*** Checking out ReactiveCocoa at "2.5.2"
*** xcodebuild output can be found in /var/folders/xd/nxn2kvn532b2rq7phvlzxm2m0000gn/T/carthage-xcodebuild.FXPWVI.log
*** Building scheme "ReactiveCocoa iOS" in ReactiveCocoa.xcworkspace
localhost:TestPods chengshuangshuang$


Carthage