Re: Very strange Xpc magic
Re: Very strange Xpc magic
- Subject: Re: Very strange Xpc magic
- From: Keary Suska <email@hidden>
- Date: Mon, 16 Sep 2013 10:13:45 -0600
On Sep 16, 2013, at 9:27 AM, Gerriet M. Denkmann wrote:
>
> 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).
Unless I didn't understand, your original post indicated that the issue was with the macro define. Has this changed? If not, I would run the file manually through the preprocessor and examine the output.
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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