Re: [Solved] Re: Is the copy phase broken for resources with resource fork?
Re: [Solved] Re: Is the copy phase broken for resources with resource fork?
- Subject: Re: [Solved] Re: Is the copy phase broken for resources with resource fork?
- From: Matt Neuburg <email@hidden>
- Date: Wed, 16 Dec 2009 09:39:49 -0800
- Thread-topic: [Solved] Re: Is the copy phase broken for resources with resource fork?
On Mon, 14 Dec 2009 15:41:45 +0100, St?phane Sudre <email@hidden> said:
>
>On 09-12-14, at 15:36, Stéphane Sudre wrote:
>
>> I'm trying to build a little Cocoa project that uses a .webloc file
>> as a localized resources.
>>
>> When I build the project, the file is not copied correctly into the
>> application bundle. The resource fork has vanished.
>>
>> Is there an option I missed in the build settings to address this or
>> is this a bug/limitation of XCode?
>
>OK, I found the solution...
>
>Target > Settings > Packaging > Preserve HFS Data needs to be checked.
Darn, you found it before I could tell you about it! In the not so distant
past, this setting didn't exist, and your only option was to write a copy
files build script that included the resource fork in the copy. Those were
the days! :) m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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