Uli,
there's no error. URLForDirectory returns the directory path (something
like  /private/var/folders/WM/(com.apple.mail....)/Downloads
on both working and non-working systems.
No output to the console either.


2013/2/22 Uli Kusterer <witness.of.teacht...@gmx.net>

> He meant the error return parameter to the URLForDirectory call. You're
> passing NULL. Why not pass it an NSError* and NSLog() the object it gives
> you back when it returns NIL (which it presumably does?) Also, is there any
> output on the console? If it's the sandbox, there's usually a log message
> there that tells you it blocked an operation that isn't permitted.
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.zathras.de
>
> On Feb 22, 2013, at 11:52 AM, Nick <eveningn...@gmail.com> wrote:
> >> You’re not consulting/logging the error message for a start . That will
> >> tell you *why* it fails
> >>
> > There's not much to log. The path to a file i generate is (i - is a
> number):
>
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to