Re: NSBundle from an URL.
Re: NSBundle from an URL.
- Subject: Re: NSBundle from an URL.
- From: Randall Meadows <email@hidden>
- Date: Thu, 3 Sep 2009 16:43:30 -0600
On Sep 3, 2009, at 4:36 PM, Erik Ă–sterlund wrote:
2009-09-04 00:33:52.657 TestClient[90551:a0f] An uncaught exception
was raised
2009-09-04 00:33:52.659 TestClient[90551:a0f] *** -[NSBundle
initWithURL:]: non-file URL argument
2009-09-04 00:33:52.663 TestClient[90551:a0f] *** Terminating app
due to uncaught exception 'NSInvalidArgumentException', reason: '***
-[NSBundle initWithURL:]: non-file URL argument'
It doesn't seem to like the fact that the bundle URL is a directory,
but what else would it be?!
(and yes I have a webserver, and yes the URL is correct)
Well, that may be a "correct" URL, but it is not a "file" URL, which
the exception is all about.
I think you need the URL to be of the form "file://..."._______________________________________________
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