Yosemite neko: LSOpenURLsWithRole() failed with error -10810 (

Yosemte neko run error

Hello I’m trying to run neko app but it fails with this error.
It runs on tests “lime test neko” or “openfl test neko”, But I can’t run after the test when I try to run it by double click or “open” command.

Haxe: 3.2.0
Lime: 2.4.1
Openfl: 3.0.6

LSOpenURLsWithRole() failed with error -10810 for the file 

The error report says:

OS Version:            Mac OS X 10.10.3 (14D136)

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010

VM Regions Near 0x10:
    __TEXT                 0000000100000000-0000000100002000 [    8K] r-x/rwx SM=COW  '/Users/USER/*/Hello.app/Contents/MacOS/Hello'

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libneko.dylib                 	0x000000010070f030 neko_val_id + 88
1   lime.ndll                     	0x00000001016237b0 0x101622000 + 6064
2   lime.ndll                     	0x0000000101623842 0x101622000 + 6210
3   libneko.dylib                 	0x000000010000ba57 neko_interp_loop + 10215
4   libneko.dylib                 	0x0000000100008ca9 neko_interp + 473
5   libneko.dylib                 	0x0000000100008ab6 neko_vm_execute + 134
6   libneko.dylib                 	0x000000010000846b neko_val_callEx + 1035
7   com.sample.hello              	0x000000010000132d 0x100000000 + 4909
8   com.sample.hello              	0x0000000100001579 0x100000000 + 5497
9   com.sample.hello              	0x0000000100000c1d 0x100000000 + 3101
10  com.sample.hello              	0x0000000100000b51 0x100000000 + 2897

Hmm, interesting, probably something to do with the current working directory when executing the application. I would recommend doing a C++ build (openfl test mac) for distribution

I wonder if we could patch Neko to fix, or should look at another target for fast builds and distribution

Thans for your answer.

I would be happy if I could use neko because it’s smaller and faster to build, but I it seems to be better using C++ build.