I'm seeing this in my Mac OS X Yosemite
Console:
AppleEvents: Send port for process has no send right,
port=( port:30743/0x7817 rcv:1,send:0,d:0 limit:5)
(findOrCreate()/AEMachUtils.cp #526)
com.apple.NSXPCConnection.user.1963
I'm developing an XPC service that handles inter-process communication from a client Mac OS App
running on the same Mac
.
Obviously the error is coming from:
(findOrCreate()
method of /AEMachUtils.cp
#526 (Line #?)
The XPC
service receives the request and calls the right methods to handle the request but each time I see the above warning.
The @protocol is:
- (oneway void)doService:(NSString *)aString withReply:(void (^)(NSString *))reply;
I never see the reply NSString
comeback. Does the - (oneway void
) have something to do with that?
The error appears in the Console
tracking stderr
for theXPC
service.
Is the error saying that I need to give rights to the sender process?
If so how?
Thanks in advance for your consideration. Regards, AK
Take a look at Apple's Q&A 1888.
Sending apple events requires a scripting-targets entitlement, and from the error I suspect you don't have one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With