• 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: Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK?


  • Subject: Re: Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK?
  • From: Graham Cox <email@hidden>
  • Date: Fri, 07 Jun 2013 09:11:04 +1000

On 07/06/2013, at 1:03 AM, Public <email@hidden> wrote:

> I've created an entitlement file. So my question is is it possible to use a container migration manifest to copy the file (that was not created or owned by my app) from ~/Library/Preferences to my app's sandbox. I only need read access and need not modify or write that preference file back out to ~/Library/Preferences.


I don't believe that this is possible. The migration manifest only runs once and is used to move preferences and support files from your non-sandboxed app to the sandbox. It will only allow you to move files that are directly linked to your app.

Even if it did allow what you want, would it help? If the other app later changed its prefs you'd never see that change on subsequent runs of your app.

A classic example of sandboxing impairing the user experience. I'm afraid like all of us, you'll just have to suck it up or find a supported way around it.

--Graham



_______________________________________________

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

References: 
 >Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK? (From: Public <email@hidden>)

  • Prev by Date: Re: Memory not being released in a timely manner
  • Next by Date: Re: Layout on Mini is broken
  • Previous by thread: Is container migration manifest required to access 3rd party file in ~/Library/Preferences from sandboxed Cocoa app in OS X 10.8 SDK?
  • Next by thread: Move cursor to previous/next line in UITextView
  • Index(es):
    • Date
    • Thread