• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A plugin for a sandboxed app - where to can I successfully store a temp file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Uli Kusterer <email@hidden>
  • Date: Fri, 22 Feb 2013 12:34:09 +0100

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


  • Follow-Ups:
    • Re: A plugin for a sandboxed app - where to can I successfully store a temp file?
      • From: Nick <email@hidden>
References: 
 >A plugin for a sandboxed app - where to can I successfully store a temp file? (From: Nick <email@hidden>)
 >Re: A plugin for a sandboxed app - where to can I successfully store a temp file? (From: Mike Abdullah <email@hidden>)
 >Re: A plugin for a sandboxed app - where to can I successfully store a temp file? (From: Nick <email@hidden>)

  • Prev by Date: Re: [OT] Sync vs ASync Server Comms
  • Next by Date: Re: A plugin for a sandboxed app - where to can I successfully store a temp file?
  • Previous by thread: Re: A plugin for a sandboxed app - where to can I successfully store a temp file?
  • Next by thread: Re: A plugin for a sandboxed app - where to can I successfully store a temp file?
  • Index(es):
    • Date
    • Thread