On Oct 27, 2011, at 4:12 AM, Shaguo wrote: > I made my app trusted by AXMakeProcessTrusted to listen to the keyboard. But > it failed to launch the dylib when it was launched. > > Reason: unsafe use of xxxxxxx with restricted binary > > Anyone has ideas on it? It makes me crazy.
AXMakeProcessTrusted works fine for me, and it has worked fine on Leopard, Snow Leopard and Lion. To see it working, download my free Event Taps Testbench utility and choose Enable Access For > ET Testbench Only from the application menu to make it a trusted process. <http://pfiddlesoft.com/eventtapstestbench>. If you want help figuring out why it isn't working for you, you will have to provide more information. For example, the full text of the error message might be informative. And a more complete explanation of how you are using it with install_name_tool. -- Bill Cheeseman - b...@cheeseman.name _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com