• 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: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.


  • Subject: Re: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.
  • From: Robert Vojta <email@hidden>
  • Date: Sat, 27 Jul 2013 10:58:47 +0200

>
> On 26. 7. 2013, at 21:36, Jens
>
> I've never worked with sandboxing, but I would guess that a sandboxed app can't access arbitrary files in ~/Library/Preferences

They can't. Sandboxed apps have own containers in ~/Library/Containers/$BUNDLEID/Data/Library/Preferences ...

You can ask for exception in entitlements and when submitting app, you have to describe why do you need this exception. Experience says that Apple is going to reject your exceptions if they do not belong to "urgent need" category. What I want to say - you never know if they'll be approved, so, it's better to avoid them and try to find another solution.

R.
_______________________________________________

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: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.
      • From: Scott Ribe <email@hidden>
References: 
 >Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode. (From: Public <email@hidden>)
 >Re: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode. (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.
  • Next by Date: Re: Observing Time
  • Previous by thread: Re: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.
  • Next by thread: Re: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.
  • Index(es):
    • Date
    • Thread