Closed tommoor closed 7 years ago
@tommoor Did you find any fix for this?
Look at the last comment it fixed the build for me without drastic cuts.
Thanks @Jerczu , will look into it.
I managed to build the package without issues. Whether it works in the app I don't know I am still building it. It looks like it's more spellchecker dependency error not the electron-spellchecker itself being broken. Especially if you just updated to new xcode.
Actually Scrap all of the above fix is change this line const NSString* autoLanguage = @"___AUTO_LANGUAGE";
to NSString* autoLanguage = @"___AUTO_LANGUAGE";
and it will work like a charm. Edit the spellchecker_mac.mm in @paulcbetts/spellchecker in your node_modules.
Thanks again @Jerczu . Tested it, works locally. Will you raise a PR?
Actually Yeah I might just do that
Just want to add the title of this is incorrect, it impacts anyone who's upgraded to XCode 9 (including users on Sierra). To build an electron app that users spellchecker those users will need to manually downgrade XCode
This should be fixed, if you're still seeing it ensure that @paulcbetts/spellchecker is on 4.0.6
I upgraded to High Sierra public beta as it looks like it'll be likely released tomorrow. It seems as though this module doesn't build correctly unfortunately. I've tracked it down to paul's fork / old version of the underlying
spellchecker
module - perhaps this dep could be updated?spellchecker
paulcbetts/spellchecker