Re: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.
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