Closed rafaelreis-hotmart closed 3 years ago
I had this issue trying install danger-swift via homebrew.
==> Installing danger-swift from danger/tap ==> Downloading https://github.com/danger/danger-swift/archive/3.8.0.tar.gz Already downloaded: ~/Library/Caches/Homebrew/downloads/a71917c57f3bb506221c72a8794fb67dc715391e909e047f74b1de1ff16e51a4--swift-3.8.0.tar.gz ==> make install PREFIX=/usr/local/Cellar/danger-swift/3.8.0 Last 15 lines from ~/Library/Logs/Homebrew/danger-swift/01.make: 2021-04-08 21:09:37 -0300 make install PREFIX=/usr/local/Cellar/danger-swift/3.8.0 swift package clean error: terminated(72): USER=rafael.reis PWD=/private/tmp/danger-swift-20210408-40478-fk1wj0/swift-3.8.0 CXX=clang++ CMAKE_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers HOMEBREW_MINIMUM_GIT_VERSION=2.14.3 HOMEBREW_REQUIRED_RUBY_VERSION=2.6.3 HOMEBREW_NO_BOOTSNAP=1 HOMEBREW_OPTFLAGS=-march=nehalem HOMEBREW_REPOSITORY=/usr/local/Homebrew HOMEBREW_ERROR_PIPE=/private/tmp/homebrew20210408-40237-le660z/socket HOMEBREW_ANALYTICS_ID=UA-76679469-1 HOMEBREW_USER_AGENT=Homebrew/3.0.11 (Macintosh; Intel Mac OS X 11.2.3) MAKEOVERRIDES=${-*-command-variables-*-} GOPATH=~/Library/Caches/Homebrew/go_mod_cache HOME=/private/tmp/danger-swift-20210408-40478-fk1wj0/swift-3.8.0/.brew_home TMPDIR=/private/tmp HOMEBREW_BOTTLE_DEFAULT_DOMAIN=https://homebrew.bintray.com HOMEBREW_DEFAULT_CACHE=~/Library/Caches/Homebrew SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.4EUIAyCgpT/Listeners GOCACHE=~/Library/Caches/Homebrew/go_cache HOMEBREW_DEPENDENCIES=danger-js PATH=/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/danger-js/bin:/usr/bin:/bin:/usr/sbin:/sbin HOMEBREW_LIBRARY=/usr/local/Homebrew/Library HOMEBREW_DEFAULT_TEMP=/private/tmp HOMEBREW_CELLAR=/usr/local/Cellar CC=clang HOMEBREW_RUBY_WARNINGS=-W1 _JAVA_OPTIONS=-Duser.home=~/Library/Caches/Homebrew/java_cache TERM=xterm-256color HOMEBREW_BREW_FILE=/usr/local/bin/brew HOMEBREW_PREFER_CLT_PROXIES=1 HOMEBREW_CURL=curl MAKEFLAGS= --jobserver-fds=3,4 -j -- PREFIX=/usr/local/Cellar/danger-swift/3.8.0 HOMEBREW_CCCFG=Oa SHLVL=0 OBJCXX=clang++ HOMEBREW_AUTO_UPDATE_CHECKED=1 HOMEBREW_SYSTEM=Macintosh HOMEBREW_GIT=git HOMEBREW_FORMULA_PREFIX=/usr/local/Cellar/danger-swift/3.8.0 HOMEBREW_AUTO_UPDATING=1 HOMEBREW_CC=clang HOMEBREW_TEMP=/private/tmp HOMEBREW_ISYSTEM_PATHS=/usr/local/include:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CARGO_HOME=~/Library/Caches/Homebrew/cargo_cache CMAKE_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries HOMEBREW_COMMAND_DEPTH=1 MFLAGS=- --jobserver-fds=3,4 -j HOMEBREW_PREFIX=/usr/local HOMEBREW_BOTTLE_DOMAIN=https://homebrew.bintray.com HOMEBREW_CORE_GIT_REMOTE=https://github.com/Homebrew/homebrew-core HOMEBREW_VERSION=3.0.11 HOMEBREW_ENV=super HOMEBREW_LOGS=~/Library/Logs/Homebrew SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk HOMEBREW_DEFAULT_LOGS=~/Library/Logs/Homebrew HOMEBREW_LIBRARY_PATHS=/usr/local/lib:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries TMP=/private/tmp CMAKE_PREFIX_PATH=/usr/local HOMEBREW_ARCHFLAGS= SHELL=/bin/zsh HOMEBREW_CC_LOG_PATH=~/Library/Logs/Homebrew/danger-swift/01.make OBJC=clang HOMEBREW_BREW_DEFAULT_GIT_REMOTE=https://github.com/Homebrew/brew MAKELEVEL=1 HOMEBREW_OPT=/usr/local/opt HOMEBREW_BREW_GIT_REMOTE=https://github.com/Homebrew/brew PREFIX=/usr/local/Cellar/danger-swift/3.8.0 HOMEBREW_ANALYTICS_USER_UUID=AF515497-A966-4E73-9C00-FE4DBE9A60BB HOMEBREW_MACOS_VERSION=11.2.3 HOMEBREW_PRODUCT=Homebrew LOGNAME=rafael.reis HOMEBREW_GIT_CONFIG_FILE=/usr/local/Homebrew/.git/config HOMEBREW_OS_VERSION=macOS 11.2 HOMEBREW_MACOS_VERSION_NUMERIC=110203 CURL_HOME=~ HOMEBREW_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer HOMEBREW_CORE_DEFAULT_GIT_REMOTE=https://github.com/Homebrew/homebrew-core HOMEBREW_PROCESSOR=Intel HOMEBREW_CXX=clang++ HOMEBREW_RUBY_PATH=/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby HOMEBREW_SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk TEMP=/private/tmp HOMEBREW_OPTIMIZATION_LEVEL=Os HOMEBREW_USER_AGENT_CURL=Homebrew/3.0.11 (Macintosh; Intel Mac OS X 11.2.3) curl/7.64.1 HOMEBREW_CACHE=~/Library/Caches/Homebrew __CF_USER_TEXT_ENCODING=0x456BAB3C:0x0:0x0 LC_ALL=en_US.UTF-8 PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/11 HOMEBREW_MACOS_SYSTEM_RUBY_NEW_ENOUGH=1 /usr/bin/xcrun --sdk macosx --find xctest output: xcrun: error: unable to find utility "xctest", not a developer tool or in PATH make: *** [build] Error 1
After struggling with the log message I figure out that I need to setup these configuration on XCode:
I had this issue trying install danger-swift via homebrew.