-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nw broken on OSX 10.13 because of objc #74
Comments
Thanks for the bug report! I can reproduce the problem but I can't fix it right now. I found some information about it on the LuaCocoa page though which I will copy/paste: macOS 10.13 (High Sierra) introduced new bugs which broke their BridgeSupport format. They broke the format for compound structs (such as NSRect), nil terminated variadic methods & functions (e.g. NSArray arrayWithObjects), and removed the data in BridgeSupport which lists all the dependent libraries/frameworks for a given framework (which brnow will require you to explicitly LuaCocoa.import() all the frameworks you indirectly need). I filed 3 bugs with Apple. If you depend on BridgeSupport for any of your projects, please file duplicates with Apple Radar and list these bug numbers in your bug reports. (Apple does count the number of bug reports and has influence over prioritization.) 5844688 10.13 broke BridgeSupport for compound struct definitions 35844763 10.13 broke BridgeSupport and compatibility with existing apps for variadic nil terminated methods/functions 35844832 10.13 broke BridgeSupport format for listing dependency framework information |
I'll create a bug report in luapower/objc and close this one. update: decided to keep this open, after all, this makes nw incompatible with OSX 10.13 until this is fixed. |
Moved to luapower/objc#5 |
Tested in 10.13.5, does not work. |
No wonder. I don't think they'll fix it. I see a few options:
Btw, I don't think I'll personally start working on options 2 or 3 time soon unless I need this for a future app, but feel free. |
Wouldn't option 1 be easy to do? Obviously you have older system version, just copy files to repo and use them. |
I'm not sure what's the licensing on those files. |
Caching only those few broken definitions on startup and saving them as json or text files should be as easy as manyally copying and pointing to them. |
When I try to run nw_demo.lua in osx 10.13.3 I get:
The text was updated successfully, but these errors were encountered: