Open lolobug opened 6 years ago
Solved by including "wtf/spi/cocoa/objcSPI.h" in deps/jscshim/webkit/Source/WTF/wtf/CMakeList.txt
cd /Users/lolo/Documents/node/iOS/bb/node-jsc/deps/jscshim/webkit/WebKitBuild/DerivedSources/WTF && mig -sheader MachExceptionsServer.h MachExceptions.defs MachExceptions.defs:26:10: fatal error: 'mach/mach_exc.defs' file not found
^~~~~~~~~~~~~~~~~~~~
1 error generated. mig: fatal: "MachExceptions.defs", line 2: no SubSystem declaration
this build error still remains.
cd /Users/lolo/Documents/node/iOS/bb/node-jsc/deps/jscshim/webkit/WebKitBuild/DerivedSources/WTF && mig -sheader MachExceptionsServer.h MachExceptions.defs MachExceptions.defs:26:10: fatal error: 'mach/mach_exc.defs' file not found
include <mach/mach_exc.defs>
^
~~~~~~~ 1 error generated. mig: fatal: "MachExceptions.defs", line 2: no SubSystem declarationthis build error still remains.
It's finally can be ignored or removed...
Hey, sorry for the late reply, been away for a couple of weeks. I've noticed the wtf/spi/cocoa/objcSPI.h issue on the v10 branch, but if this is happening on the master branch too, this is a bug. So just to be sure, are you working with the master branch?
Hey, sorry for the late reply, been away for a couple of weeks. I've noticed the wtf/spi/cocoa/objcSPI.h issue on the v10 branch, but if this is happening on the master branch too, this is a bug. So just to be sure, are you working with the master branch?
yes. the master branch.
cd /Users/lolo/Documents/node/iOS/bb/node-jsc/deps/jscshim/webkit/WebKitBuild/DerivedSources/WTF && mig -sheader MachExceptionsServer.h MachExceptions.defs MachExceptions.defs:26:10: fatal error: 'mach/mach_exc.defs' file not found
include <mach/mach_exc.defs>
^
~~~~~~~ 1 error generated. mig: fatal: "MachExceptions.defs", line 2: no SubSystem declaration this build error still remains.It's finally can be ignored or removed...
Hey I'm experiencing this error, how was this resolved on your end?
Huh, it seems like building WTF for compiling JSC with the --only-jsc
breaks the build. Omitting that flag resolves the issue I was experiencing.
Some build errors when build_jsc_ios called in the jscshim/tools/build_jsc.py
error details: fatal error: 'wtf/spi/cocoa/objcSPI.h' file not found
include <wtf/spi/cocoa/objcSPI.h>
1 error generated.
fatal error: 'mach/mach_exc.defs' file not found
include <mach/mach_exc.defs>
1 error generated
more infos provided: xcode: 10.0 mac: 10.13.6 cmake:3.5.1 python: 2.7.10