0

Can anyone tell me where I can find Carbon Error -1743? I have an AppleEvent I'm sending from one app to another that's worked up to this point but fails in Mojave.

iluvcapra
  • 9,436
  • 2
  • 30
  • 32
  • 1
    The error is `errAEEventNotPermitted`. Please see https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave – vadian Oct 26 '18 at 20:10
  • This definitely is the problem, but for whatever reason when I try to send an AppleEvent I don't get the permission prompt, even after the `tccutil` database has been reset. – iluvcapra Oct 26 '18 at 22:48

1 Answers1

0

As @vandian points out, this error is errAEEventNotPermitted, however, the security system won't ask you for permission to allow sending events unless you have a NSAppleEventsUsageDescription key in your application's Info.plist.

So, the solution in my case was to add this key to Info.plist. This having been done, I got the permission prompt, and the event fired and was received by the other app.

iluvcapra
  • 9,436
  • 2
  • 30
  • 32