Build failure with Xcode 8.3
Description
Just installed an update to Xcode and lost XVim functionality.
Followed the instructions here to re-install XVim but when I run make it fails with error 65.
Operation
After setting up a new self-signed certificate, issued
sudo codesign -f -s XcodeSigner /Applications/Xcode.app
and then make
Expected behaviour
XVim installed and working in Xcode
Environments
- Xcode Version [ 8.3 ]
- XVim branch and revision [ master, d151997 ]
- Keyboard Language [ English ]
- Input source language [ English ]
Crash log
XVim master % make
xcodebuild -configuration Release
=== BUILD TARGET XVim OF PROJECT XVim WITH CONFIGURATION Release ===
Check dependencies
PhaseScriptExecution Run\ Script build/XVim.build/Release/XVim.build/Script-A28275EA1C353AC400535692.sh
cd /Users/jkrmr/code/XVim
export ACTION=build
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=jkrmr
export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
export ALWAYS_SEARCH_USER_PATHS=YES
export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
export APPLE_INTERNAL_DIR=/AppleInternal
export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
export APPLICATION_EXTENSION_API_ONLY=NO
export APPLY_RULES_IN_COPY_FILES=NO
export ARCHS=x86_64
export ARCHS_STANDARD=x86_64
export ARCHS_STANDARD_32_64_BIT="x86_64 i386"
export ARCHS_STANDARD_32_BIT=i386
export ARCHS_STANDARD_64_BIT=x86_64
export ARCHS_STANDARD_INCLUDING_64_BIT=x86_64
export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
export BITCODE_GENERATION_MODE=marker
export BUILD_ACTIVE_RESOURCES_ONLY=NO
export BUILD_COMPONENTS="headers build"
export BUILD_DIR=/Users/jkrmr/code/XVim/build
export BUILD_ROOT=/Users/jkrmr/code/XVim/build
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/jkrmr/code/XVim/build/Release
export CACHE_ROOT=/var/folders/c1/855g8kxn12vcy4g6k97c_cc80000gn/C/com.apple.DeveloperTools/8.3-8E162/Xcode
export CCHROOT=/var/folders/c1/855g8kxn12vcy4g6k97c_cc80000gn/C/com.apple.DeveloperTools/8.3-8E162/Xcode
export CHMOD=/bin/chmod
export CHOWN=/usr/sbin/chown
export CLANG_ENABLE_OBJC_ARC=YES
export CLANG_MODULES_BUILD_SESSION_FILE=/var/folders/c1/855g8kxn12vcy4g6k97c_cc80000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation
export CLANG_WARN_CONSTANT_CONVERSION=YES
export CLANG_WARN_ENUM_CONVERSION=YES
export CLANG_WARN_IMPLICIT_SIGN_CONVERSION=YES
export CLANG_WARN_INT_CONVERSION=YES
export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
export CLASS_FILE_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/JavaClasses
export CLEAN_PRECOMPS=YES
export CLONE_HEADERS=NO
export CODESIGNING_FOLDER_PATH=/Users/jkrmr/code/XVim/build/Release/XVim.xcplugin
export CODE_SIGNING_ALLOWED=YES
export COLOR_DIAGNOSTICS=YES
export COMBINE_HIDPI_IMAGES=YES
export COMMAND_MODE=legacy
export COMPOSITE_SDK_DIRS=/Users/jkrmr/code/XVim/build/CompositeSDKs
export COMPRESS_PNG_FILES=NO
export CONFIGURATION=Release
export CONFIGURATION_BUILD_DIR=/Users/jkrmr/code/XVim/build/Release
export CONFIGURATION_TEMP_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release
export CONTENTS_FOLDER_PATH=XVim.xcplugin/Contents
export COPYING_PRESERVES_HFS_DATA=NO
export COPY_HEADERS_RUN_UNIFDEF=NO
export COPY_PHASE_STRIP=YES
export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
export CP=/bin/cp
export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
export CURRENT_ARCH=x86_64
export CURRENT_VARIANT=normal
export DEAD_CODE_STRIPPING=NO
export DEBUGGING_SYMBOLS=YES
export DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
export DEFAULT_KEXT_INSTALL_PATH=/Library/Extensions
export DEFINES_MODULE=NO
export DEPLOYMENT_LOCATION=NO
export DEPLOYMENT_POSTPROCESSING=NO
export DEPLOYMENT_TARGET_CLANG_ENV_NAME=MACOSX_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mmacosx-version-min
export DEPLOYMENT_TARGET_SETTING_NAME=MACOSX_DEPLOYMENT_TARGET
export DERIVED_FILES_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/DerivedSources
export DERIVED_FILE_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/DerivedSources
export DERIVED_SOURCES_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/DerivedSources
export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export DEVELOPMENT_LANGUAGE=English
export DOCUMENTATION_FOLDER_PATH=XVim.xcplugin/Contents/Resources/English.lproj/Documentation
export DO_HEADER_SCANNING_IN_JAM=NO
export DSTROOT=/tmp/XVim.dst
export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export DWARF_DSYM_FILE_NAME=XVim.xcplugin.dSYM
export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
export DWARF_DSYM_FOLDER_PATH=/Users/jkrmr/code/XVim/build/Release
export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
export EMBEDDED_PROFILE_NAME=embedded.provisionprofile
export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
export ENABLE_BITCODE=NO
export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
export ENABLE_HEADER_DEPENDENCIES=YES
export ENABLE_ON_DEMAND_RESOURCES=NO
export ENABLE_TESTABILITY=NO
export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj*.pbxproj"
export EXECUTABLES_FOLDER_PATH=XVim.xcplugin/Contents/Executables
export EXECUTABLE_FOLDER_PATH=XVim.xcplugin/Contents/MacOS
export EXECUTABLE_NAME=XVim
export EXECUTABLE_PATH=XVim.xcplugin/Contents/MacOS/XVim
export EXPANDED_CODE_SIGN_IDENTITY=
export EXPANDED_CODE_SIGN_IDENTITY_NAME=
export EXPANDED_PROVISIONING_PROFILE=
export EXTRA_XCODE_CLASSES_HEADER_PATH=./XcodeClasses/Xcode8
export FILE_LIST=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects/LinkFileList
export FIXED_FILES_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/FixedFiles
export FRAMEWORKS_FOLDER_PATH=XVim.xcplugin/Contents/Frameworks
export FRAMEWORK_FLAG_PREFIX=-framework
export FRAMEWORK_SEARCH_PATHS="/Users/jkrmr/code/XVim/build/Release /Applications/Xcode.app/Contents/Developer/../Frameworks /Applications/Xcode.app/Contents/Developer/../PlugIns /Applications/Xcode.app/Contents/Developer/../SharedFrameworks"
export FRAMEWORK_VERSION=A
export FULL_PRODUCT_NAME=XVim.xcplugin
export GCC3_VERSION=3.3
export GCC_C_LANGUAGE_STANDARD=gnu99
export GCC_ENABLE_OBJC_EXCEPTIONS=YES
export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
export GCC_PRECOMPILE_PREFIX_HEADER=YES
export GCC_PREFIX_HEADER=XVim/XVim-Prefix.pch
export GCC_PREPROCESSOR_DEFINITIONS="XVIM_XCODE_VERSION=5 XVIM_XCODE8=1"
export GCC_TREAT_WARNINGS_AS_ERRORS=NO
export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
export GCC_WARN_ABOUT_MISSING_PROTOTYPES=YES
export GCC_WARN_ABOUT_RETURN_TYPE=YES
export GCC_WARN_SIGN_COMPARE=YES
export GCC_WARN_UNINITIALIZED_AUTOS=YES
export GCC_WARN_UNUSED_VARIABLE=YES
export GENERATE_MASTER_OBJECT_FILE=NO
export GENERATE_PKGINFO_FILE=NO
export GENERATE_PROFILING_CODE=NO
export GENERATE_TEXT_BASED_STUBS=NO
export GID=20
export GROUP=staff
export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
export HEADERMAP_USES_VFS=NO
export HEADER_SEARCH_PATHS="/Users/jkrmr/code/XVim/build/Release/include "
export HIDE_BITCODE_SYMBOLS=YES
export HOME=/Users/jkrmr
export ICONV=/usr/bin/iconv
export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
export INFOPLIST_FILE=XVim/Info.plist
export INFOPLIST_OUTPUT_FORMAT=same-as-input
export INFOPLIST_PATH=XVim.xcplugin/Contents/Info.plist
export INFOPLIST_PREPROCESS=NO
export INFOSTRINGS_PATH=XVim.xcplugin/Contents/Resources/English.lproj/InfoPlist.strings
export INLINE_PRIVATE_FRAMEWORKS=NO
export INSTALLHDRS_COPY_PHASE=NO
export INSTALLHDRS_SCRIPT_PHASE=NO
export INSTALL_DIR=/tmp/XVim.dst
export INSTALL_GROUP=staff
export INSTALL_MODE_FLAG=u+w,go-w,a+rX
export INSTALL_OWNER=jkrmr
export INSTALL_ROOT=/tmp/XVim.dst
export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
export JAVA_ARCHIVE_CLASSES=YES
export JAVA_ARCHIVE_TYPE=JAR
export JAVA_COMPILER=/usr/bin/javac
export JAVA_FOLDER_PATH=XVim.xcplugin/Contents/Resources/Java
export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
export JAVA_JAR_FLAGS=cv
export JAVA_SOURCE_SUBDIR=.
export JAVA_USE_DEPENDENCIES=YES
export JAVA_ZIP_FLAGS=-urg
export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
export KEEP_PRIVATE_EXTERNS=NO
export LD_DEPENDENCY_INFO_FILE=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVim_dependency_info.dat
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/XVim-LinkMap-normal-x86_64.txt
export LD_NO_PIE=NO
export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
export LEX=lex
export LIBRARY_FLAG_NOSPACE=YES
export LIBRARY_FLAG_PREFIX=-l
export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
export LIBRARY_SEARCH_PATHS="/Users/jkrmr/code/XVim/build/Release /Applications/Xcode.app/Contents/Developer/../PlugIns/IDESourceEditor.ideplugin/Contents/MacOS"
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_FILE_LIST_normal_x86_64=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVim.LinkFileList
export LINK_WITH_STANDARD_LIBRARIES=YES
export LOCALIZABLE_CONTENT_DIR=
export LOCALIZED_RESOURCES_FOLDER_PATH=XVim.xcplugin/Contents/Resources/English.lproj
export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
export LOCAL_APPS_DIR=/Applications
export LOCAL_DEVELOPER_DIR=/Library/Developer
export LOCAL_LIBRARY_DIR=/Library
export LOCROOT=
export LOCSYMROOT=
export MACH_O_TYPE=mh_bundle
export MACOSX_DEPLOYMENT_TARGET=10.7
export MAC_OS_X_PRODUCT_BUILD_VERSION=16E195
export MAC_OS_X_VERSION_ACTUAL=101204
export MAC_OS_X_VERSION_MAJOR=101200
export MAC_OS_X_VERSION_MINOR=1204
export METAL_LIBRARY_FILE_BASE=default
export METAL_LIBRARY_OUTPUT_DIR=/Users/jkrmr/code/XVim/build/Release/XVim.xcplugin/Contents/Resources
export NATIVE_ARCH=i386
export NATIVE_ARCH_32_BIT=i386
export NATIVE_ARCH_64_BIT=x86_64
export NATIVE_ARCH_ACTUAL=x86_64
export NO_COMMON=YES
export OBJECT_FILE_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects
export OBJECT_FILE_DIR_normal=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal
export OBJROOT=/Users/jkrmr/code/XVim/build
export ONLY_ACTIVE_ARCH=NO
export OS=MACOS
export OSAC=/usr/bin/osacompile
export PACKAGE_TYPE=com.apple.package-type.wrapper
export PASCAL_STRINGS=YES
export PATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/Users/jkrmr/.opam/system/bin:/Users/jkrmr/.pyenv/plugins/pyenv-virtualenv/shims:/Users/jkrmr/.pyenv/shims:/Users/jkrmr/.exenv/shims:/Users/jkrmr/.rbenv/shims:/Users/jkrmr/.bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/gnu-bin/libexec/gnubin:/usr/local/opt/gnu-indent/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/gnu-which/libexec/gnubin:/usr/local/opt/gnutls/libexec/gnubin:/Users/jkrmr/.exenv/bin:/Users/jkrmr/.pyenv/bin:/Users/jkrmr/.go/bin:/usr/local/opt/go/libexec/bin:/Users/jkrmr/.gem/ruby/2.0.0/bin:/Users/jkrmr/.node/bin:/Users/jkrmr/.fzf/bin:/Users/jkrmr/anaconda3/bin:/Users/jkrmr/.gem/ruby/2.3.0/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin:/Users/jkrmr/Library/texlive/2016/bin/x86_64-darwin"
export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
export PBDEVELOPMENTPLIST_PATH=XVim.xcplugin/Contents/pbdevelopment.plist
export PFE_FILE_C_DIALECTS=objective-c
export PKGINFO_FILE_PATH=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/PkgInfo
export PKGINFO_PATH=XVim.xcplugin/Contents/PkgInfo
export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
export PLATFORM_DISPLAY_NAME=macOS
export PLATFORM_NAME=macosx
export PLATFORM_PREFERRED_ARCH=x86_64
export PLATFORM_PRODUCT_BUILD_VERSION=8E162
export PLIST_FILE_OUTPUT_FORMAT=same-as-input
export PLUGINS_FOLDER_PATH=XVim.xcplugin/Contents/PlugIns
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/PrefixHeaders
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRIVATE_HEADERS_FOLDER_PATH=XVim.xcplugin/Contents/PrivateHeaders
export PRODUCT_MODULE_NAME=XVim
export PRODUCT_NAME=XVim
export PRODUCT_SETTINGS_PATH=/Users/jkrmr/code/XVim/XVim/Info.plist
export PRODUCT_TYPE=com.apple.product-type.bundle
export PROFILING_CODE=NO
export PROJECT=XVim
export PROJECT_DERIVED_FILE_DIR=/Users/jkrmr/code/XVim/build/XVim.build/DerivedSources
export PROJECT_DIR=/Users/jkrmr/code/XVim
export PROJECT_FILE_PATH=/Users/jkrmr/code/XVim/XVim.xcodeproj
export PROJECT_NAME=XVim
export PROJECT_TEMP_DIR=/Users/jkrmr/code/XVim/build/XVim.build
export PROJECT_TEMP_ROOT=/Users/jkrmr/code/XVim/build
export PUBLIC_HEADERS_FOLDER_PATH=XVim.xcplugin/Contents/Headers
export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
export REMOVE_CVS_FROM_RESOURCES=YES
export REMOVE_GIT_FROM_RESOURCES=YES
export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
export REMOVE_HG_FROM_RESOURCES=YES
export REMOVE_SVN_FROM_RESOURCES=YES
export REZ_COLLECTOR_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/ResourceManagerResources
export REZ_OBJECTS_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/ResourceManagerResources/Objects
export REZ_SEARCH_PATHS="/Users/jkrmr/code/XVim/build/Release "
export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SCRIPTS_FOLDER_PATH=XVim.xcplugin/Contents/Resources/Scripts
export SCRIPT_INPUT_FILE_COUNT=0
export SCRIPT_OUTPUT_FILE_COUNT=0
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
export SDK_DIR_macosx10_12=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
export SDK_NAME=macosx10.12
export SDK_NAMES=macosx10.12
export SDK_PRODUCT_BUILD_VERSION=16E185
export SDK_VERSION=10.12
export SDK_VERSION_ACTUAL=101200
export SDK_VERSION_MAJOR=101200
export SDK_VERSION_MINOR=1200
export SED=/usr/bin/sed
export SEPARATE_STRIP=NO
export SEPARATE_SYMBOL_EDIT=NO
export SET_DIR_MODE_OWNER_GROUP=YES
export SET_FILE_MODE_OWNER_GROUP=NO
export SHALLOW_BUNDLE=NO
export SHARED_DERIVED_FILE_DIR=/Users/jkrmr/code/XVim/build/Release/DerivedSources
export SHARED_FRAMEWORKS_FOLDER_PATH=XVim.xcplugin/Contents/SharedFrameworks
export SHARED_PRECOMPS_DIR=/Users/jkrmr/code/XVim/build/SharedPrecompiledHeaders
export SHARED_SUPPORT_FOLDER_PATH=XVim.xcplugin/Contents/SharedSupport
export SKIP_INSTALL=YES
export SOURCE_ROOT=/Users/jkrmr/code/XVim
export SRCROOT=/Users/jkrmr/code/XVim
export STRINGS_FILE_OUTPUT_ENCODING=UTF-16
export STRIP_BITCODE_FROM_COPIED_FILES=NO
export STRIP_INSTALLED_PRODUCT=YES
export STRIP_PNG_TEXT=NO
export STRIP_STYLE=non-global
export SUPPORTED_PLATFORMS=macosx
export SUPPORTS_TEXT_BASED_API=NO
export SWIFT_PLATFORM_TARGET_PREFIX=macosx
export SYMROOT=/Users/jkrmr/code/XVim/build
export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
export SYSTEM_APPS_DIR=/Applications
export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
export SYSTEM_DEMOS_DIR=/Applications/Extras
export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
export SYSTEM_LIBRARY_DIR=/System/Library
export TAPI_VERIFY_MODE=ErrorsOnly
export TARGETNAME=XVim
export TARGET_BUILD_DIR=/Users/jkrmr/code/XVim/build/Release
export TARGET_NAME=XVim
export TARGET_TEMP_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build
export TEMP_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build
export TEMP_FILES_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build
export TEMP_FILE_DIR=/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build
export TEMP_ROOT=/Users/jkrmr/code/XVim/build
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
export UID=501
export UNLOCALIZED_RESOURCES_FOLDER_PATH=XVim.xcplugin/Contents/Resources
export UNSTRIPPED_PRODUCT=NO
export USER=jkrmr
export USER_APPS_DIR=/Users/jkrmr/Applications
export USER_HEADER_SEARCH_PATHS="./XcodeClasses/Xcode8 ./XcodeClasses/Xcode4 ./XVim"
export USER_LIBRARY_DIR=/Users/jkrmr/Library
export USE_DYNAMIC_NO_PIC=YES
export USE_HEADERMAP=NO
export USE_HEADER_SYMLINKS=NO
export VALIDATE_PRODUCT=NO
export VALID_ARCHS="i386 x86_64"
export VERBOSE_PBXCP=NO
export VERSIONPLIST_PATH=XVim.xcplugin/Contents/version.plist
export VERSION_INFO_BUILDER=jkrmr
export VERSION_INFO_FILE=XVim_vers.c
export VERSION_INFO_STRING="\"@(#)PROGRAM:XVim PROJECT:XVim-\""
export WRAPPER_EXTENSION=xcplugin
export WRAPPER_NAME=XVim.xcplugin
export WRAPPER_SUFFIX=.xcplugin
export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=8E162
export XCODE_VERSION_ACTUAL=0830
export XCODE_VERSION_MAJOR=0800
export XCODE_VERSION_MINOR=0830
export XPCSERVICES_FOLDER_PATH=XVim.xcplugin/Contents/XPCServices
export YACC=yacc
export arch=x86_64
export diagnostic_message_length=151
export variant=normal
/bin/sh -c /Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Script-A28275EA1C353AC400535692.sh
CompileC build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVimAboutDialog.o XVim/XVimAboutDialog.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/jkrmr/code/XVim
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=151 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -gmodules -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wmissing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wno-bool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DXVIM_XCODE_VERSION=5 -DXVIM_XCODE8=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -Wsign-conversion -Wno-infinite-recursion -IXcodeClasses/Xcode8 -IXcodeClasses/Xcode4 -IXVim -I/Users/jkrmr/code/XVim/build/Release/include -I/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/DerivedSources/x86_64 -I/Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/DerivedSources -F/Users/jkrmr/code/XVim/build/Release -F/Applications/Xcode.app/Contents/Developer/../Frameworks -F/Applications/Xcode.app/Contents/Developer/../PlugIns -F/Applications/Xcode.app/Contents/Developer/../SharedFrameworks -include /Users/jkrmr/code/XVim/build/SharedPrecompiledHeaders/XVim-Prefix-gusleohgficifvberhkubxlzysrq/XVim-Prefix.pch -MMD-MT dependencies -MF /Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVimAboutDialog.d --serialize-diagnostics /Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVimAboutDialog.dia -c /Users/jkrmr/code/XVim/XVim/XVimAboutDialog.m -o /Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVimAboutDialog.o
Ld build/Release/XVim.xcplugin/Contents/MacOS/XVim normal x86_64
cd /Users/jkrmr/code/XVim
export MACOSX_DEPLOYMENT_TARGET=10.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -L/Users/jkrmr/code/XVim/build/Release -L/Applications/Xcode.app/Contents/Developer/../PlugIns/IDESourceEditor.ideplugin/Contents/MacOS -F/Users/jkrmr/code/XVim/build/Release -F/Applications/Xcode.app/Contents/Developer/../Frameworks -F/Applications/Xcode.app/Contents/Developer/../PlugIns -F/Applications/Xcode.app/Contents/Developer/../SharedFrameworks -filelist /Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVim.LinkFileList -mmacosx-version-min=10.7 -Xlinker -object_path_lto -Xlinker /Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVim_lto.o -fobjc-arc -fobjc-link-runtime -framework AppKit -framework Cocoa -framework IDEFoundation -framework IDEKit -framework DVTFoundation -framework DVTKit /Applications/Xcode.app/Contents/PlugIns/IDELanguageSupportUI.ideplugin/Contents/MacOS/IDELanguageSupportUI /Applications/Xcode.app/Contents/PlugIns/IDESourceEditor.ideplugin/Contents/MacOS/IDESourceEditor -Xlinker -dependency_info -Xlinker /Users/jkrmr/code/XVim/build/XVim.build/Release/XVim.build/Objects-normal/x86_64/XVim_dependency_info.dat -o /Users/jkrmr/code/XVim/build/Release/XVim.xcplugin/Contents/MacOS/XVim
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_IDEPlaygroundEditor", referenced from:
anon in IDEPlaygroundEditor+XVim.o
l_OBJC_$_CATEGORY_IDEPlaygroundEditor_$_XVim in IDEPlaygroundEditor+XVim.o
objc-class-ref in XVimHookManager.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 build/Release/XVim.xcplugin/Contents/MacOS/XVim normal x86_64
(1 failure)
make: *** [release] Error 65
I have the same issue.
Remove support for "IDEPlaygroundEditor". Delete reference of "IDEPlaygroundEditor+XVim.h" and "IDEPlaygroundEditor+Xvim.m", then comment the reference code in "XVim/XVimHookManager.m".
@iOkay You're a lifesaver, thanks!
I'll leave this open in case playground support will be re-enabled, but feel free to close.
You can build from this PR for these fixes https://github.com/XVimProject/XVim/pull/1055
Does this mean XVim in playground won't be supported?
@haaakon just tested, works perfectly in playground and even better (now highlight caret)
Save my hours. Thanks for @iOkay :-).
hm, just got the same issue
oh, it wasn't merged into master yet. Building with develop branch helped. thx.
I can install Xvim successfully by using develop branch, but no VIM feature in Xcode when I open projects. Xcode works like it did before install Xvim. ( Already allow xcode load Xvim from bundles).
I can install Xvim successfully by using develop branch, but no VIM feature in Xcode when I open projects. Xcode works like it did before install Xvim. ( Already allow xcode load Xvim from bundles).
I'm seeing the same with Xcode 8.3.1.
Closing since this is fixed for 8.3 on develop. Opened https://github.com/XVimProject/XVim/issues/1061 for 8.3.1.