I am trying to change the keyboard layout programmatically. I've got a solution here, but it's not working in a sandboxed application. I have found out that I have to set an exception in the entitlement file, and more precisely com.apple.security.temporary-exception.mach-lookup.global-name
& Lt; Key & gt; Com.apple.security.temporary-exception.mach-lookup.globalname & lt; / Key & gt; & Lt; Array & gt; & Lt; String & gt; Com.apple.tsm.portname & lt; / String & gt; & Lt; / Array & gt; & Lt; / Dict & gt; & Lt; / Plist & gt;
When I run an application, I still get an error 16.03.15 17: 47: 48,000 kernel [0]: sandbox: my_app (3704) mac-lookup. Apple denies the console .tsm.portname in the console
Here's the documentation to change the keyboard layout, but there is nothing about sandbox. any idea?
No comments:
Post a Comment