Allow access to Documents folder in a sandbox app

  • Hi,

    Is there any way to access the documents folder without letting user select
    it explicitly in a sandbox app?

    If I want to submit the app to the App Store, does the app have to be
    sandboxed?

    Thanks,
    -
    Peng
  • On 8 May 2013, at 20:02, Peng Gu <panygu...> wrote:

    > Hi,
    >
    > Is there any way to access the documents folder without letting user select
    > it explicitly in a sandbox app?

    Yes, a temporary entitlement, but Apple are highly unlikely to allow you it.
    >
    > If I want to submit the app to the App Store, does the app have to be
    > sandboxed?

    Yep.
  • Hi,

    > Is there any way to access the documents folder without letting user select
    > it explicitly in a sandbox app?

    No.

    > If I want to submit the app to the App Store, does the app have to be
    > sandboxed?

    Yes.

    Cheers,
    Igor
  • On Wed, 8 May 2013 20:22:30 +0100, Mike Abdullah said:

    >> Is there any way to access the documents folder without letting user select
    >> it explicitly in a sandbox app?
    >
    > Yes, a temporary entitlement, but Apple are highly unlikely to allow you it.

    Just to clarify, you don't actually need Apple's permission to use a temporarily entitlement, they work automatically.  What Mike means is that if you use a temporarily entitlement Apple probably won't allow your app on their store, but you can always distribute it yourself.

    Due to various Sandbox bugs, we use a temp entitlement allowing access to all files, but at least we still get other benefits of sandboxing (ex: limiting usb, camera, microphone, network, etc. access).

    Cheers,

    --
    ____________________________________________________________
    Sean McBride, B. Eng                <sean...>
    Rogue Research                        www.rogue-research.com
    Mac Software Developer              Montréal, Québec, Canada
previous month may 2013 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today