Re: How to keep individual resource-based files as separate files inside the /Resources folder?
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