salehalbuga / azure-functions-swift-tools Goto Github PK
View Code? Open in Web Editor NEWCLI tools for Azure Functions for Swift
License: MIT License
CLI tools for Azure Functions for Swift
License: MIT License
I attempted to install, and I received an error:
xcrun: error: unable to find utility "xctest", not a developer tool or in PATH
It looks like the path that the install script is using is resolving to: PATH=/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
I have attempted to add the path both in my .zshrc and in my /etc/paths. Is there someplace else that the scripts would look to construct the path? Is there something else I'm missing?
% echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
% ls -al /Applications/Xcode.app/Contents/Developer/usr/bin/xctest
lrwxr-xr-x 1 root wheel 69 Jun 29 19:40 /Applications/Xcode.app/Contents/Developer/usr/bin/xctest -> ../../Platforms/MacOSX.platform/Developer/Library/Xcode/Agents/xctest
% brew install salehalbuga/formulae/swift-func
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
yakyak
==> Installing swift-func from salehalbuga/formulae
==> Cloning https://github.com/SalehAlbuga/azure-functions-swift-tools.git
Updating /Users/michaelsaul/Library/Caches/Homebrew/swift-func--git
==> Checking out tag 0.4.1
HEAD is now at 6e36218 Merge pull request #5 from SalehAlbuga/master
HEAD is now at 6e36218 Merge pull request #5 from SalehAlbuga/master
==> make install prefix=/usr/local/Cellar/swift-func/0.4.1
Last 15 lines from /Users/michaelsaul/Library/Logs/Homebrew/swift-func/01.make:
2020-06-30 09:12:39 -0700
make
install
prefix=/usr/local/Cellar/swift-func/0.4.1
swift build -c release --disable-sandbox
error: terminated(72): SHELL=/bin/zsh HOMEBREW_MACOS_VERSION_NUMERIC=101505 HOMEBREW_PREFIX=/usr/local MAKELEVEL=1 CMAKE_PREFIX_PATH=/usr/local HOMEBREW_PREFER_CLT_PROXIES=1 HOMEBREW_VERSION=2.4.2 ACLOCAL_PATH=/usr/local/share/aclocal CMAKE_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers HOMEBREW_TEMP=/private/tmp HOMEBREW_COMMAND_DEPTH=2 HOMEBREW_BREW_GIT_REMOTE=https://github.com/Homebrew/brew HOMEBREW_BREW_FILE=/usr/local/bin/brew CC=clang HOMEBREW_SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk HOMEBREW_USER_AGENT=Homebrew/2.4.2 (Macintosh; Intel Mac OS X 10.15.5) HOMEBREW_USER_AGENT_CURL=Homebrew/2.4.2 (Macintosh; Intel Mac OS X 10.15.5) curl/7.64.1 CARGO_HOME=/Users/michaelsaul/Library/Caches/Homebrew/cargo_cache LC_ALL=en_US.UTF-8 HOMEBREW_GIT_CONFIG_FILE=/usr/local/Homebrew/.git/config _JAVA_OPTIONS=-Duser.home=/Users/michaelsaul/Library/Caches/Homebrew/java_cache HOMEBREW_PRODUCT=Homebrew MAKEOVERRIDES=${-*-command-variables-*-} HOMEBREW_CXX=clang++ HOMEBREW_GIT=git SHLVL=0 HOMEBREW_PROCESSOR=Intel CMAKE_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries HOMEBREW_MINIMUM_GIT_VERSION=2.14.3 HOMEBREW_LIBRARY_PATHS=/usr/local/lib:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries HOMEBREW_REPOSITORY=/usr/local/Homebrew SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.7vhxPnHqMU/Listeners HOMEBREW_OPTIMIZATION_LEVEL=Os MAKEFLAGS= --jobserver-fds=3,4 -j -- prefix=/usr/local/Cellar/swift-func/0.4.1 GOCACHE=/Users/michaelsaul/Library/Caches/Homebrew/go_cache TERM=xterm-256color HOMEBREW_ENV=super OBJC=clang GOPATH=/Users/michaelsaul/Library/Caches/Homebrew/go_mod_cache HOMEBREW_BOTTLE_DOMAIN=https://homebrew.bintray.com prefix=/usr/local/Cellar/swift-func/0.4.1 CXX=clang++ HOMEBREW_CCCFG=Osa TEMP=/private/tmp OBJCXX=clang++ PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.15 HOMEBREW_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk MFLAGS=- --jobserver-fds=3,4 -j HOMEBREW_DEFAULT_LOGS=/Users/michaelsaul/Library/Logs/Homebrew __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 HOMEBREW_DEPENDENCIES= HOMEBREW_BREW_DEFAULT_GIT_REMOTE=https://github.com/Homebrew/brew PWD=/private/tmp/swift-func-20200630-99147-10ct23v HOMEBREW_ISYSTEM_PATHS=/usr/local/include:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers HOMEBREW_RUBY_PATH=/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby HOMEBREW_ARCHFLAGS= HOMEBREW_FORMULA_PREFIX=/usr/local/Cellar/swift-func/0.4.1 USER=michaelsaul HOMEBREW_RUBY_WARNINGS=-W0 HOMEBREW_CELLAR=/usr/local/Cellar HOMEBREW_ERROR_PIPE=/private/tmp/homebrew20200630-97966-1sej62r/socket HOMEBREW_CORE_GIT_REMOTE=https://github.com/Homebrew/homebrew-core HOMEBREW_CORE_DEFAULT_GIT_REMOTE=https://github.com/Homebrew/homebrew-core HOMEBREW_AUTO_UPDATE_CHECKED=1 HOMEBREW_BOTTLE_DEFAULT_DOMAIN=https://homebrew.bintray.com HOMEBREW_LOGS=/Users/michaelsaul/Library/Logs/Homebrew HOMEBREW_DEFAULT_TEMP=/private/tmp HOMEBREW_LIBRARY=/usr/local/Homebrew/Library HOMEBREW_DEFAULT_CACHE=/Users/michaelsaul/Library/Caches/Homebrew HOMEBREW_OPTFLAGS=-march=nehalem HOMEBREW_CURL=curl HOMEBREW_SYSTEM=Macintosh HOMEBREW_OPT=/usr/local/opt HOMEBREW_ANALYTICS_USER_UUID=5B973CD5-AE6A-40F0-AC12-D4301DDBCA2E HOMEBREW_ANALYTICS_ID=UA-76679469-1 HOMEBREW_OS_VERSION=macOS 10.15.5 TMPDIR=/private/tmp HOME=/private/tmp/swift-func-20200630-99147-10ct23v/.brew_home PATH=/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin TMP=/private/tmp HOMEBREW_CC_LOG_PATH=/Users/michaelsaul/Library/Logs/Homebrew/swift-func/01.make HOMEBREW_CACHE=/Users/michaelsaul/Library/Caches/Homebrew HOMEBREW_CC=clang HOMEBREW_MACOS_VERSION=10.15.5 LOGNAME=michaelsaul CURL_HOME=/Users/michaelsaul xcrun --sdk macosx --find xctest output:
xcrun: error: unable to find utility "xctest", not a developer tool or in PATH
make: *** [build] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/salehalbuga/homebrew-formulae/issues
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.