rodionovd / homebrew-taps

My very own Homebrew tap repository
3 stars 0 forks source link

shortcuts: support both 10.11 and 10.12 #1

Open rodionovd opened 8 years ago

rodionovd commented 8 years ago

shortcuts 2.0.0 will drop support for 10.11, but 1.1.1 still works like a charm on El Capitan

twlz0ne commented 4 years ago

Build failed on 10.12 (Sierra).

detail ```sh ⋊> brew install rodionovd/taps/shortcuts -v ==> Installing shortcuts from rodionovd/taps ==> Downloading https://github.com/rodionovd/shortcuts/archive/v2.0.0.tar.gz Already downloaded: /Users/foo/.cache/homebrew/downloads/ba48b208b2cc4b3ab07bcaf49f8daa480874462941426169ba65201ae322693a--shortcuts-2.0.0.tar.gz ==> Verifying ba48b208b2cc4b3ab07bcaf49f8daa480874462941426169ba65201ae322693a--shortcuts-2.0.0.tar.gz checksum /usr/bin/sandbox-exec -f /private/tmp/homebrew20200529-83670-1t17e80.sb nice ruby -W0 -I $LOAD_PATH -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/rodionovd/homebrew-taps/Formula/shortcuts.rb --verbose tar xof /Users/foo/.cache/homebrew/downloads/ba48b208b2cc4b3ab07bcaf49f8daa480874462941426169ba65201ae322693a--shortcuts-2.0.0.tar.gz -C /private/tmp/d20200529-83671-13qvf2a cp -pR /private/tmp/d20200529-83671-13qvf2a/shortcuts-2.0.0/. /private/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0 chmod -Rf +w /private/tmp/d20200529-83671-13qvf2a ==> xcodebuild -target shortcuts -configuration Release SYMROOT=symroot OBJROOT=objroot CODE_SIGN_IDENTITY= 2020-05-29 10:24:42.234 xcodebuild[84236:6982505] WARNING: Failed to load plugin at path: "/Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin", skipping. Error: Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2): no suitable image found. Did find: /Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: code signing blocked mmap() of '/Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2'" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2, NSDebugDescription=dlopen_preflight(/Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2): no suitable image found. Did find: /Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: code signing blocked mmap() of '/Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2', NSBundlePath=/Users/foo/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin, NSLocalizedDescription=The bundle “XVim2” couldn’t be loaded because it is damaged or missing necessary resources.} Build settings from command line: CODE_SIGN_IDENTITY = OBJROOT = objroot SYMROOT = symroot === BUILD TARGET shortcuts OF PROJECT shortcuts WITH CONFIGURATION Release === Check dependencies Write auxiliary files write-file /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts.hmap write-file /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-project-headers.hmap /bin/mkdir -p /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64 write-file /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/shortcuts.LinkFileList write-file /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-generated-files.hmap write-file /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-all-target-headers.hmap write-file /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-own-target-headers.hmap write-file /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-all-non-framework-target-headers.hmap CompileC objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/NSArray+HigherOrder.o shortcuts/NSArray+HigherOrder.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0 export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/gh/hf94zbzn513_rcv4zfp3mhr00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.12 -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -iquote /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-generated-files.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-own-target-headers.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-all-target-headers.hmap -iquote /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-project-headers.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release/include -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/DerivedSources/x86_64 -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/DerivedSources -F/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks -MMD -MT dependencies -MF /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/NSArray+HigherOrder.d --serialize-diagnostics /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/NSArray+HigherOrder.dia -c /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/shortcuts/NSArray+HigherOrder.m -o /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/NSArray+HigherOrder.o CompileC objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/main.o shortcuts/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0 export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/gh/hf94zbzn513_rcv4zfp3mhr00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.12 -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -iquote /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-generated-files.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-own-target-headers.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-all-target-headers.hmap -iquote /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-project-headers.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release/include -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/DerivedSources/x86_64 -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/DerivedSources -F/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks -MMD -MT dependencies -MF /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/main.d --serialize-diagnostics /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/main.dia -c /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/shortcuts/main.m -o /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/main.o CompileC objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/shortcuts.o shortcuts/shortcuts.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0 export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/gh/hf94zbzn513_rcv4zfp3mhr00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.12 -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -iquote /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-generated-files.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-own-target-headers.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-all-target-headers.hmap -iquote /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/shortcuts-project-headers.hmap -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release/include -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/DerivedSources/x86_64 -I/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/DerivedSources -F/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks -MMD -MT dependencies -MF /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/shortcuts.d --serialize-diagnostics /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/shortcuts.dia -c /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/shortcuts/shortcuts.m -o /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/shortcuts.o Ld symroot/Release/shortcuts normal x86_64 cd /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0 export MACOSX_DEPLOYMENT_TARGET=10.12 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -L/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release -F/tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks -filelist /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/shortcuts.LinkFileList -mmacosx-version-min=10.12 -Xlinker -object_path_lto -Xlinker /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/shortcuts_lto.o -fobjc-arc -fobjc-link-runtime -framework KeyboardServices -Xlinker -dependency_info -Xlinker /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/objroot/shortcuts.build/Release/shortcuts.build/Objects-normal/x86_64/shortcuts_dependency_info.dat -o /tmp/shortcuts-20200529-83671-c6b3po/shortcuts-2.0.0/symroot/Release/shortcuts ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks/KeyboardServices.framework/KeyboardServices.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks/KeyboardServices.framework/KeyboardServices.tbd ld: warning: ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libobjc.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libobjc.tbdignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbdld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Metal.framework/Metal.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Metal.framework/Metal.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Cocoa.framework/Cocoa.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Cocoa.framework/Cocoa.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//IOKit.framework/IOKit.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//IOKit.framework/IOKit.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//ImageIO.framework/ImageIO.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//ImageIO.framework/ImageIO.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Carbon.framework/Carbon.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Carbon.framework/Carbon.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//AppKit.framework/AppKit.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//AppKit.framework/AppKit.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Security.framework/Security.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//Security.framework/Security.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//IOSurface.framework/IOSurface.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//IOSurface.framework/IOSurface.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//InputMethodKit.framework/InputMethodKit.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//InputMethodKit.framework/InputMethodKit.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreData.framework/CoreData.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreData.framework/CoreData.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreText.framework/CoreText.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreText.framework/CoreText.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//DiskArbitration.framework/DiskArbitration.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//DiskArbitration.framework/DiskArbitration.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreServices.framework/CoreServices.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//CoreServices.framework/CoreServices.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//ApplicationServices.framework/ApplicationServices.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//ApplicationServices.framework/ApplicationServices.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//OpenGL.framework/OpenGL.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//OpenGL.framework/OpenGL.tbd ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//ColorSync.framework/ColorSync.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks//ColorSync.framework/ColorSync.tbd Undefined symbols for architecture x86_64: "_NSLog", referenced from: ____update_block_invoke in shortcuts.o "_OBJC_CLASS_$_NSArray", referenced from: objc-class-ref in NSArray+HigherOrder.o l_OBJC_$_CATEGORY_NSArray_$_HigherOrder in NSArray+HigherOrder.o objc-class-ref in shortcuts.o "_OBJC_CLASS_$_NSDictionary", referenced from: objc-class-ref in shortcuts.o "_OBJC_CLASS_$_NSMutableArray", referenced from: objc-class-ref in NSArray+HigherOrder.o "_OBJC_CLASS_$_NSProcessInfo", referenced from: objc-class-ref in main.o "_OBJC_CLASS_$_NSPropertyListSerialization", referenced from: objc-class-ref in shortcuts.o "_OBJC_CLASS_$_NSUserDefaults", referenced from: objc-class-ref in shortcuts.o "_OBJC_CLASS_$__KSTextReplacementClientStore", referenced from: objc-class-ref in shortcuts.o "_OBJC_CLASS_$__KSTextReplacementEntry", referenced from: objc-class-ref in shortcuts.o "_OBJC_CLASS_$__KSTextReplacementHelper", referenced from: objc-class-ref in shortcuts.o "__Block_object_assign", referenced from: ___copy_helper_block_ in NSArray+HigherOrder.o ___copy_helper_block_.14 in NSArray+HigherOrder.o ___copy_helper_block_.19 in NSArray+HigherOrder.o ___copy_helper_block_.37 in shortcuts.o ___copy_helper_block_.46 in shortcuts.o "__Block_object_dispose", referenced from: __submit in shortcuts.o ___destroy_helper_block_.38 in shortcuts.o __update in shortcuts.o ___destroy_helper_block_.47 in shortcuts.o "__NSConcreteGlobalBlock", referenced from: ___block_literal_global in shortcuts.o ___block_literal_global.65 in shortcuts.o ___block_literal_global.81 in shortcuts.o "__NSConcreteStackBlock", referenced from: -[NSArray(HigherOrder) rd_map:] in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_flatMap:] in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_filter:] in NSArray+HigherOrder.o __existingEntryForShortcut in shortcuts.o __submit in shortcuts.o __update in shortcuts.o _import in shortcuts.o ... "__Unwind_Resume", referenced from: __submit in shortcuts.o __update in shortcuts.o "___CFConstantStringClassReference", referenced from: CFString in main.o CFString in main.o CFString in main.o CFString in main.o CFString in main.o CFString in main.o CFString in main.o ... "___objc_personality_v0", referenced from: __submit in shortcuts.o __update in shortcuts.o Dwarf Exception Unwind Info (__eh_frame) in shortcuts.o "___stack_chk_fail", referenced from: _new in shortcuts.o ___list_block_invoke in shortcuts.o _delete in shortcuts.o "___stack_chk_guard", referenced from: _new in shortcuts.o ___list_block_invoke in shortcuts.o _delete in shortcuts.o "___stderrp", referenced from: __submit in shortcuts.o ____submit_block_invoke in shortcuts.o __update in shortcuts.o ____update_block_invoke in shortcuts.o _new in shortcuts.o _list in shortcuts.o "_dispatch_semaphore_create", referenced from: __submit in shortcuts.o __update in shortcuts.o "_dispatch_semaphore_signal", referenced from: ____submit_block_invoke in shortcuts.o ____update_block_invoke in shortcuts.o "_dispatch_semaphore_wait", referenced from: __submit in shortcuts.o __update in shortcuts.o "_dispatch_time", referenced from: __submit in shortcuts.o __update in shortcuts.o "_fprintf", referenced from: ____submit_block_invoke in shortcuts.o ____update_block_invoke in shortcuts.o _new in shortcuts.o _list in shortcuts.o "_fwrite", referenced from: __submit in shortcuts.o __update in shortcuts.o "_getprogname", referenced from: _usage in main.o "_objc_autoreleasePoolPop", referenced from: _main in main.o "_objc_autoreleasePoolPush", referenced from: _main in main.o "_objc_autoreleaseReturnValue", referenced from: __existingEntryForShortcut in shortcuts.o ____existingEntryForShortcut_block_invoke.12 in shortcuts.o ___import_block_invoke in shortcuts.o ___list_block_invoke in shortcuts.o "_objc_msgSend", referenced from: -[NSArray(HigherOrder) rd_map:] in NSArray+HigherOrder.o ___31-[NSArray(HigherOrder) rd_map:]_block_invoke in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_flatMap:] in NSArray+HigherOrder.o ___35-[NSArray(HigherOrder) rd_flatMap:]_block_invoke in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_filter:] in NSArray+HigherOrder.o ___34-[NSArray(HigherOrder) rd_filter:]_block_invoke in NSArray+HigherOrder.o _main in main.o ... "_objc_release", referenced from: -[NSArray(HigherOrder) rd_map:] in NSArray+HigherOrder.o ___31-[NSArray(HigherOrder) rd_map:]_block_invoke in NSArray+HigherOrder.o ___destroy_helper_block_ in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_flatMap:] in NSArray+HigherOrder.o ___35-[NSArray(HigherOrder) rd_flatMap:]_block_invoke in NSArray+HigherOrder.o ___destroy_helper_block_.15 in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_filter:] in NSArray+HigherOrder.o ... "_objc_retain", referenced from: -[NSArray(HigherOrder) rd_map:] in NSArray+HigherOrder.o ___copy_helper_block_ in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_flatMap:] in NSArray+HigherOrder.o ___copy_helper_block_.14 in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_filter:] in NSArray+HigherOrder.o ___34-[NSArray(HigherOrder) rd_filter:]_block_invoke in NSArray+HigherOrder.o ___copy_helper_block_.19 in NSArray+HigherOrder.o ... "_objc_retainAutorelease", referenced from: ____submit_block_invoke in shortcuts.o ____update_block_invoke in shortcuts.o _new in shortcuts.o _list in shortcuts.o ___list_block_invoke_2 in shortcuts.o "_objc_retainAutoreleaseReturnValue", referenced from: -[NSArray(HigherOrder) rd_map:] in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_flatMap:] in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_filter:] in NSArray+HigherOrder.o "_objc_retainAutoreleasedReturnValue", referenced from: -[NSArray(HigherOrder) rd_map:] in NSArray+HigherOrder.o ___31-[NSArray(HigherOrder) rd_map:]_block_invoke in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_flatMap:] in NSArray+HigherOrder.o ___35-[NSArray(HigherOrder) rd_flatMap:]_block_invoke in NSArray+HigherOrder.o -[NSArray(HigherOrder) rd_filter:] in NSArray+HigherOrder.o _main in main.o __existingEntryForShortcut in shortcuts.o ... "_printf", referenced from: _usage in main.o _list in shortcuts.o ___list_block_invoke_2 in shortcuts.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ** BUILD FAILED ** The following build commands failed: Ld symroot/Release/shortcuts normal x86_64 (1 failure) ==> Formula Tap: rodionovd/taps Path: /usr/local/Homebrew/Library/Taps/rodionovd/homebrew-taps/Formula/shortcuts.rb ==> Configuration HOMEBREW_VERSION: 2.2.17-96-g2e801c3 ORIGIN: https://github.com/Homebrew/brew HEAD: 2e801c3077e362562b0e2717a5d219a474958ca3 Last commit: 5 days ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: 572fc56b93562aa2d07749e826f8b4ab6cc04090 Core tap last commit: 5 days ago HOMEBREW_PREFIX: /usr/local HOMEBREW_CACHE: /Users/foo/.cache/homebrew HOMEBREW_EDITOR: vim HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set CPU: quad-core 64-bit sandybridge Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby Clang: 9.0 build 900 Git: 2.23.0 => /usr/local/bin/git Curl: 7.54.0 => /usr/bin/curl Java: 12.0.1, 1.8.0_212 macOS: 10.12.6-x86_64 CLT: 9.2.0.0.1.1510905681 Xcode: 9.2 ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /usr/local CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12 HOMEBREW_GIT: git HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk ACLOCAL_PATH: /usr/local/share/aclocal PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin Error: rodionovd/taps/shortcuts 2.0.0 did not build Logs: /Users/foo/Library/Logs/Homebrew/shortcuts/00.options.out /Users/foo/Library/Logs/Homebrew/shortcuts/01.xcodebuild Do not report this issue to Homebrew/brew or Homebrew/core! These open issues may also help: shortcuts: support both 10.11 and 10.12 https://github.com/rodionovd/homebrew-taps/issues/1 ```
kbd commented 3 years ago

Build failing on Catalina:

$ brew install rodionovd/taps/shortcuts
Updating Homebrew...
...
==> Installing shortcuts from rodionovd/taps
==> Downloading https://github.com/rodionovd/shortcuts/archive/v2.0.0.tar.gz
Already downloaded: /Users/kbd/Library/Caches/Homebrew/downloads/ba48b208b2cc4b3ab07bcaf49f8daa480874462941426169ba65201ae322693a--shortcuts-2.0.0.tar.gz
...
==> xcodebuild -target shortcuts -configuration Release SYMROOT=symroot OBJROOT=objroot CODE_SIGN_IDENTITY=
Last 15 lines from /Users/kbd/Library/Logs/Homebrew/shortcuts/01.xcodebuild:
2020-12-30 10:02:16 -0700

xcodebuild
-target
shortcuts
-configuration
Release
SYMROOT=symroot
OBJROOT=objroot
CODE_SIGN_IDENTITY=

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
philipdowner commented 1 year ago

Build failing on Monterey:

==> Downloading https://github.com/rodionovd/shortcuts/archive/v2.0.0.tar.gz
==> Downloading from https://codeload.github.com/rodionovd/shortcuts/tar.gz/refs/tags/v2.0.0
#=#=-#  #
==> Installing shortcuts from rodionovd/taps
==> xcodebuild -target shortcuts -configuration Release SYMROOT=symroot OBJROOT=objroot CODE_SIGN_IDENTITY=
Last 15 lines from /Users/philipdowner/Library/Logs/Homebrew/shortcuts/01.xcodebuild:
2022-10-31 19:29:13 +0000

xcodebuild
-target
shortcuts
-configuration
Release
SYMROOT=symroot
OBJROOT=objroot
CODE_SIGN_IDENTITY=

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
shortcuts: support both 10.11 and 10.12 https://github.com/rodionovd/homebrew-taps/issues/1
tripleee commented 11 months ago

Similarly on Sonoma.

rhouston-canva commented 6 months ago

Build failure on Sonoma with XCode installed:

==> Fetching rodionovd/taps/shortcuts
==> Downloading https://github.com/rodionovd/shortcuts/archive/v2.0.0.tar.gz
Already downloaded: /Users/rhouston/Library/Caches/Homebrew/downloads/ba48b208b2cc4b3ab07bcaf49f8daa480874462941426169ba65201ae322693a--shortcuts-2.0.0.tar.gz
==> Installing shortcuts from rodionovd/taps
==> xcodebuild -target shortcuts -configuration Release SYMROOT=symroot OBJROOT=objroot CODE_SIGN_IDENTITY=
Last 15 lines from /Users/rhouston/Library/Logs/Homebrew/shortcuts/01.xcodebuild:

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -x objective-c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -x c -c /dev/null

Build description signature: 5035d42dfd072890728fd49f6eb8d135
Build description path: /tmp/shortcuts-20240326-50585-7jwamv/shortcuts-2.0.0/objroot/XCBuildData/5035d42dfd072890728fd49f6eb8d135.xcbuilddata
/tmp/shortcuts-20240326-50585-7jwamv/shortcuts-2.0.0/shortcuts.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.12, but the range of supported deployment target versions is 10.13 to 14.4.99. (in target 'shortcuts' from project 'shortcuts')
error: An empty identity is not valid when signing a binary for the product type 'Command-line Tool'. (in target 'shortcuts' from project 'shortcuts')
** BUILD FAILED **

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/rodionovd/homebrew-taps/issues

These open issues may also help:
shortcuts: support both 10.11 and 10.12 https://github.com/rodionovd/homebrew-taps/issues/1