折腾:
【未解决】Mac中安装和初始化facebook-wda环境
期间,用命令:
brew install --HEAD usbmuxd
结果报错:
brew install --HEAD usbmuxd Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/cask-versions and homebrew/cask). ==> New Casks wxmacmolplt ==> Updated Casks Updated 117 casks. ==> Downloading https://homebrew.bintray.com/bottles/m4-1.4.18.catalina.bottle.1.tar.gz Already downloaded: /Users/crifan/Library/Caches/Homebrew/downloads/38758163801a32273c9cb22878353fb7fdd5c42fe807d4b13ffebcf544463693--m4-1.4.18.catalina.bottle.1.tar.gz ==> Downloading https://homebrew.bintray.com/bottles/autoconf-2.71.catalina.bottle.tar.gz Already downloaded: /Users/crifan/Library/Caches/Homebrew/downloads/29660f4f6571149f0d77e7656dc0c26b7205536224f60cbff263d1a8d439d28b--autoconf-2.71.catalina.bottle.tar.gz ==> Downloading https://homebrew.bintray.com/bottles/automake-1.16.3_1.catalina.bottle.tar.gz Already downloaded: /Users/crifan/Library/Caches/Homebrew/downloads/78e6258bb19c6ad00fd1513eb117b8d1549b903795bbcf4a980da78b27f96d04--automake-1.16.3_1.catalina.bottle.tar.gz ==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6_3.catalina.bottle.tar.gz Already downloaded: /Users/crifan/Library/Caches/Homebrew/downloads/7eee62c59d4e3ba6595b2139bd4e6e8a30fb8258d7549bfebe40062e37d11d87--libtool-2.4.6_3.catalina.bottle.tar.gz ==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.29.2_3.catalina.bottle.tar.gz Already downloaded: /Users/crifan/Library/Caches/Homebrew/downloads/edcc4297c05f9b8f56859aa882a2dcbb2fa5c8d624ca3fa154913803c225fd41--pkg-config-0.29.2_3.catalina.bottle.tar.gz ==> Downloading https://homebrew.bintray.com/bottles/libusb-1.0.24.catalina.bottle.tar.gz Already downloaded: /Users/crifan/Library/Caches/Homebrew/downloads/79a99c80a687e4bad0f3e1d002d728d9af03c45a7f127f4201d32a727f3a913a--libusb-1.0.24.catalina.bottle.tar.gz ==> Cloning https://github.com/libimobiledevice/libusbmuxd.git Updating /Users/crifan/Library/Caches/Homebrew/libusbmuxd--git ==> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at 3eb50a0 tools: Flip order of windows.h and winsock2.h to get rid of compiler warning (Windows) Error: Xcode alone is not sufficient on Catalina. Install the Command Line Tools: xcode-select --install
去试试:
xcode-select --install
xcode-select 命令需要使用命令行开发者工具,您要现在安装该工具吗? 选取安装来立刻下载并安装命令行开发者工具。
和:
“Install Command Line Developer Tools.app”需要下载字体“华文黑体”。
电脑尚未连接电源。 为获得最佳效果,请在安装前先将电脑接通电源。
再去试试:
xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates
已安装。看起来没问题了。
重新试试:
brew install --HEAD usbmuxd
就可以正常安装了。
【总结】
此处
brew install --HEAD usbmuxd
报错:
Error: Xcode alone is not sufficient on Catalina. Install the Command Line Tools: xcode-select --install
根据提示去:
xcode-select --install
一路安装,即可。
转载请注明:在路上 » 【已解决】Mac提示:Error Xcode alone is not sufficient on Catalina