Re: Very strange Xpc magic
Re: Very strange Xpc magic
- Subject: Re: Very strange Xpc magic
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 16 Sep 2013 22:27:24 +0700
On 16 Sep 2013, at 22:21, Charles Srstka <email@hidden> wrote:
> On Sep 16, 2013, at 10:16 AM, "Gerriet M. Denkmann" <email@hidden> wrote:
>
>> If (and only if) MAGIC_BUG_REMOVAL is defined, I see:
>> Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application."
>>
>> Makes sense, as there just is no helper application named: "something.very.silly".
>
> Make sure you've got the Mach service name for your helper registered in your helper's launchd plist. If it's set up correctly, your helper should automatically launch when the client app tries to communicate with its Mach service name.
Maybe I was not very clear.
The problem is NOT that the helper app does not start. There just is no helper app, there is nothing which has a MachService called "something.very.silly".
The problem is, that the error block, which prints MAGIC_ERROR, does only get called when there is an NSLog right in front of it.
This makes no sense (to me).
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden