Re: Setting default application for URL scheme
Re: Setting default application for URL scheme
- Subject: Re: Setting default application for URL scheme
- From: "Matthew Gertner" <email@hidden>
- Date: Fri, 16 May 2008 19:05:48 +0200
Thanks Jens, I managed to find the problem in the console. It's
related to the fact that my bundle references a framework in another
bundle. It seems like it wasn't finding this framework since I hadn't
run the other bundle yet. I guess this is why rebuilding the Launch
Services database fixed the problem. I'll look into registering the
second bundle programmatically.
Matt
On Fri, May 16, 2008 at 6:27 PM, Jens Alfke <email@hidden> wrote:
>
> On 16 May '08, at 8:57 AM, Matthew Gertner wrote:
>
>> After I register my
>> handler, it gets requests to load a new URL as expected the app is
>> already running. If the app isn't running, I see the dock slide over
>> slightly like it's about to open a new bundle, then it slides back and
>> the app doesn't open. If I rebuild the Launch Services database using
>> lsregister then it works fine.
>
> That's strange ... this should work fine, with no need for lsregister.
> From the Dock animation, it sounds like the app is crashing immediately on
> launch. Have you checked the console (both 'Console Messages' and
> 'system.log') for any relevant messages?
>
> —Jens
--
*** Note that my email has changed to email@hidden.
Please update your address book accordingly. ***
_______________________________________________
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