• 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: copying from app bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copying from app bundle


  • Subject: Re: copying from app bundle
  • From: Steve Christensen <email@hidden>
  • Date: Thu, 14 Dec 2006 08:12:52 -0800

On Dec 14, 2006, at 6:25 AM, Olariu Adrian Mihai wrote:

I am trying copy the resource files from an cocoa application using NSFileManager( the appliaction from which I'm trying to copy the files is the one which is running). The problem is that for some users is working and to others not and I can't figure it out what is happening. Maybe is something about a directory name, but I'm not sure. I'm getting the file's path from the bundle information (NSBundleResourcePath).

Where is the copy process failing? One thing to consider is that the / Applications directory hierarchy is read-only to non-admin users. If you're copying to a destination within that hierarchy (including your application's bundle), it won't work. If you're moving resources around on a per-user basis, for example, it's better to copy to someplace like the user's application support folder.


steve

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >copying from app bundle (From: Olariu Adrian Mihai <email@hidden>)

  • Prev by Date: copying from app bundle
  • Next by Date: Re: copying from app bundle
  • Previous by thread: copying from app bundle
  • Next by thread: Re: copying from app bundle
  • Index(es):
    • Date
    • Thread