lukaskollmer / objc

🔮 NodeJS ↔ Objective-C bridge (experimental)
MIT License
98 stars 20 forks source link

Symbol not found with Node 10.11.0 and Electron 4.0 #14

Closed erikjalevik closed 5 years ago

erikjalevik commented 5 years ago

I just upgraded my Electron project that uses objc to version 4.0.0, which meant a Node upgrade to 10.11.0. In the process I also upgraded objc to 0.19.

And now I get the following error at runtime:

dyld: lazy symbol binding failed: Symbol not found: __ZN2v811HandleScope12CreateHandleEPNS_8internal10HeapObjectEPNS1_6ObjectE
  Referenced from: /Users/ejal/dev/filur/node_modules/ref/build/Release/binding.node
  Expected in: flat namespace

By commenting out the import of objc, the error goes away.

Any ideas?

erikjalevik commented 5 years ago

Never mind, my bad. I changed my build process around a bit and forgot to run electron-rebuild. That fixed it!