Karabiner-elements: build failed despite all dependencies `NSException`

Created on 18 Oct 2017  路  3Comments  路  Source: pqrs-org/Karabiner-Elements

make fails with the current master (0b5a195d1661398b92b1bfa2d712b8015e60f5c4)
I get this NSException:

2017-10-18 10:52:55.742 ibtoold[8590:199266] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error getting value for parameter key 'name' of extension 'Xcode.InterfaceBuilderKit.AppleTVIntegration.Singletons' in plug-in 'com.apple.dt.IDE.IDEInterfaceBuilderAppleTVIntegration''
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff4fee50fb __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x00007fff767d3c76 objc_exception_throw + 48
    2   DVTFoundation                       0x0000000107f4faad -[DVTExtensionParameter valueForKey:error:] + 0
    3   IDEInterfaceBuilderKit              0x00000001076dab4d -[IBScopedSingletonRegistry init] + 722
    4   IDEInterfaceBuilderKit              0x00000001076da861 __43+[IBScopedSingletonRegistry sharedInstance]_block_invoke + 41
    5   libdispatch.dylib                   0x00007fff77388f64 _dispatch_client_callout + 8
    6   libdispatch.dylib                   0x00007fff77388f17 dispatch_once_f + 41
    7   IDEInterfaceBuilderKit              0x00000001076da835 +[IBScopedSingletonRegistry sharedInstance] + 45
    8   IDEInterfaceBuilderKit              0x00000001074f4689 -[IBInterfaceBuilderPlugin init] + 146
    9   IDEInterfaceBuilderKit              0x00000001074f45dd +[IBInterfaceBuilderPlugin ide_initializeWithOptions:error:] + 34
    10  IDEFoundation                       0x0000000108881cce _IDEInitializeOnePlugInAndPrerequisites + 2324
    11  IDEFoundation                       0x00000001088815d5 _IDEInitializeOnePlugInAndPrerequisites + 539
    12  IDEFoundation                       0x00000001088815d5 _IDEInitializeOnePlugInAndPrerequisites + 539
    13  IDEFoundation                       0x000000010887fcca _IDEInitializePlugIns + 1604
    14  IDEFoundation                       0x000000010887f081 IDEInitialize + 8547
    15  ibtoold                             0x00000001071f05a9 ibtoold + 71081
    16  ibtoold                             0x00000001071ef724 ibtoold + 67364
    17  libdyld.dylib                       0x00007fff773c2145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 6. The tool may have crashed. Please file a bug report at http://bugreport.apple.com with the above output and attach any crash logs for ibtool, ibtoold, Xcode, and Interface Builder Cocoa Touch Tool created around the time of this failure. These logs can be found in ~/Library/Logs/DiagnosticReports or /Library/Logs/DiagnosticReports.

** BUILD FAILED **


The following build commands failed:
    CompileXIB Base.lproj/MainMenu.xib
(1 failure)
make[3]: *** [all] Error 65
make[2]: *** [all] Error 2
make[1]: *** [build] Error 2

make: *** [all] Error 99

Xcode dependencies are being met:

$ /usr/bin/xcodebuild -version

Xcode 9.0
Build version 9A235

$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables

package-id: com.apple.pkg.CLTools_Executables
version: 9.0.0.0.1.1504363082
volume: /
location: /

I first installed boost via homebrew, in addition I have v. 1.65.1 in /opt/local/include/boost/ as described.

mac OS is v10.13 (17A405)

stale

Most helpful comment

I've downloaded Xcode, installed it, but never opened it. After opening Xcode for the first time, it installs some "additional tools". After those tools were installed, 'make' in Karabiner-elements folder finished successfully for me.
@DanweDE

All 3 comments

exactly the same issue. any advices ?

I've downloaded Xcode, installed it, but never opened it. After opening Xcode for the first time, it installs some "additional tools". After those tools were installed, 'make' in Karabiner-elements folder finished successfully for me.
@DanweDE

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings