Re: A plugin for a sandboxed app - where to can I successfully store a temp file?
Re: A plugin for a sandboxed app - where to can I successfully store a temp file?
- Subject: Re: A plugin for a sandboxed app - where to can I successfully store a temp file?
- From: Nick <email@hidden>
- Date: Fri, 22 Feb 2013 14:40:22 +0200
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 <email@hidden>
> 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 <email@hidden> 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 (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