Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7195

Adding entry to myApp.entitlements causes quit with `Message from debugger: Error 1`

$
0
0

I have some IOHID code for watching keyboard events.

It was working fine on an earlier version of macOS. About four years ago, I don't remember precisely. Towards the end of the Big Cat era, before the Geography era.

I tried running it on Catalina and it won't pick up events.

I figured this is likely some security measure.

I couldn't find any suitable key in info.plist

Googling, I found a bunch of myProj.entitlementshere

I will just use one of them as an example:

<key>com.apple.iohideventsystem.server</key>
    <true/>

If I add this key (bumping over this issue) and run my app, it now quits immediately with:

Message from debugger: Error 1

Even setting a breakpoint in main.m won't hit.

What is going on?


Viewing all articles
Browse latest Browse all 7195

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>