• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Very strange Xpc magic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very strange Xpc magic


  • Subject: Re: Very strange Xpc magic
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 16 Sep 2013 23:36:37 +0700

On 16 Sep 2013, at 23:13, Keary Suska <email@hidden> wrote:

>
> 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.

As I just explained in some reply in this thread: if MAGIC_BUG_REMOVAL is defined, then some sufficient delay is added by printing NSLog().

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


References: 
 >Very strange Xpc magic (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Very strange Xpc magic (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Very strange Xpc magic (From: Charles Srstka <email@hidden>)
 >Re: Very strange Xpc magic (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Very strange Xpc magic (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Very strange Xpc magic
  • Next by Date: Re: Very strange Xpc magic
  • Previous by thread: Re: Very strange Xpc magic
  • Next by thread: Re: Very strange Xpc magic
  • Index(es):
    • Date
    • Thread