Re: Very strange Xpc magic
Re: Very strange Xpc magic
- Subject: Re: Very strange Xpc magic
- From: Charles Srstka <email@hidden>
- Date: Mon, 16 Sep 2013 11:16:02 -0500
On Sep 16, 2013, at 10:27 AM, "Gerriet M. Denkmann" <email@hidden> wrote:
> 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).
I just tried your code on my machine, and whether the error logs or not seems fairly random. Whether or not your define is present, I sometimes get the error log and sometimes not, and repeatedly running the app (or putting the code in an IBAction instead of applicationDidFinishLaunching: and repeatedly pressing a button to invoke it) results in a different outcome each time. There might be a race condition in the framework or something. Have you filed a Radar report on this yet?
Charles
_______________________________________________
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