Skip to content

Build failed on macOS Catalina with Xcode 12.2 #1115

@markwu

Description

@markwu

Build failed on macOS Catalina with Xcode 12.2

xcodebuild -project MacVim/MacVim.xcodeproj GCC_PREPROCESSOR_DEFINITIONS=' DISABLE_SPARKLE=1' MACOSX_DEPLOYMENT_TARGET=10.15 VIM_SHORT_VERSION_STRING=8.2.1975
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project MacVim/MacVim.xcodeproj "GCC_PREPROCESSOR_DEFINITIONS= DISABLE_SPARKLE=1" MACOSX_DEPLOYMENT_TARGET=10.15 VIM_SHORT_VERSION_STRING=8.2.1975

Build settings from command line:
    GCC_PREPROCESSOR_DEFINITIONS =  DISABLE_SPARKLE=1
    MACOSX_DEPLOYMENT_TARGET = 10.15
    VIM_SHORT_VERSION_STRING = 8.2.1975

note: Using new build system
note: Planning build
note: Constructing build description
warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no run destination to provide an active architecture; building for all applicable architectures (in target 'PSMTabBarControlFramework' from project 'PSMTabBarControl')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'PSMTabBarControlFramework' from project 'PSMTabBarControl')
warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no run destination to provide an active architecture; building for all applicable architectures (in target 'MacVim' from project 'MacVim')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'MacVim' from project 'MacVim')
error: The linked and embedded framework 'Sparkle.framework' is missing one or more architectures required by this target: arm64. (in target 'MacVim' from project 'MacVim')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'QuickLookStephen' from project 'QuickLookStephen')

** BUILD FAILED **

make[1]: *** [macvim] Error 65
make: *** [first] Error 2

To Reproduce

  1. Build with homebrew brew install -s macvim

Expected behavior
Build success without issues.

Environment (please complete the following information):

HOMEBREW_VERSION: 2.5.10-20-gfd15352
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: fd15352ea4eb7072b34533101bd60a252c2fe6bc
Last commit: 18 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: fd16f6e4d33d210b263bf37c26b0656c0099959d
Core tap last commit: 17 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.aIT0EOyjtg/org.macosforge.xquartz:0
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit haswell
Clang: 12.0 build 1200
Git: 2.29.2 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 14.0.2
macOS: 10.15.7-x86_64
CLT: 12.2.0.0.1.1603499215

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions