• 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: How to keep individual resource-based files as separate files inside the /Resources folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to keep individual resource-based files as separate files inside the /Resources folder?


  • Subject: Re: How to keep individual resource-based files as separate files inside the /Resources folder?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 16 Aug 2012 10:34:04 +0200

Le 14 août 2012 à 23:26, Stephen Kay <email@hidden> a écrit :

> on 8/14/12 5:40 AM, Jean-Daniel Dupas at email@hidden wrote:
>
>>> So how do I included these other files that need to be managed as separate
>>> resource-based files?
>>>
>>
>> You can add a Script build step that perform the copy as expected using for
>> example "ditto --rsrc"
>
> Actually, I figured out how to do a Run Script build phase, so please ignore
> my earlier question. It works great for this.
>
> However, I just wanted to verify one thing. I used 'cp' to just copy files
> into the mainApp.app/Resources folder, and it doesn't strip the resource
> forks - it works fine, so apparently there is no need for "ditto"? Or is
> this different in later versions of Xcode (using 2.4.1 here…)

IIRC, cp used to strip resource forks before a global effort by Apple to implement support for extended attrs and others metadata in command line tools (cp, tar, …).
I think the enhanced version of cp was first introduced in Mac OS X 10.4.

I was suggestion ditto because I'm used to it , but using cp should be fine too.

-- Jean-Daniel





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: How to keep individual resource-based files as separate files inside the /Resources folder? (From: Stephen Kay <email@hidden>)

  • Prev by Date: Re: #import competition broken on 4.4.1
  • Next by Date: Re: Storyboard, magnification and Xcode 4.x usability.
  • Previous by thread: Re: How to keep individual resource-based files as separate files inside the /Resources folder?
  • Next by thread: Re: How to keep individual resource-based files as separate files inside the /Resources folder?
  • Index(es):
    • Date
    • Thread