Error Starting a MacOS Application Created Using Clang

I recently compiled an application with a Clang compiler and sanitizer for an address, but the application cannot start. I got this error:

LSOpenURLsWithRole() failed with error -10810

I can run the application if it is compiled using clang (without asan) or gcc

I can not find the key to this problem on the pages of the pages.

Does anyone have an idea what could happen?

+5
source share
1 answer

This may be a permission issue, so you need to make sure that you have installed the binary application as executable.

Those:

sudo chmod + x / Applications / foo.app / Contents / MacOS / foo

, , - 10810 - "" , - .

, .

0

All Articles