Losing resource forks in Run Script phase, even with ditto
Losing resource forks in Run Script phase, even with ditto
- Subject: Losing resource forks in Run Script phase, even with ditto
- From: Stephen Kay <email@hidden>
- Date: Sun, 30 Sep 2012 23:08:08 -0400
- Thread-topic: Losing resource forks in Run Script phase, even with ditto
I have an .rsrc file (created by merging several resource files together in
a target's "Build ResourceManager Resources" phase). The file properly has
all the resources in the resource fork (i.e. It can be viewed with
Resourcerer, for example, and all the resources are still there.)
In a Run Script phase, all I want to do is rename the file with a different
extension, say .ksr, for my own purposes.
As soon as the file is renamed with any other extension, the resources fork
is gone and all of the data is in the data fork. It's like it automatically
turns it into a data fork.
I've tried copying the file with ditto --rsrc, rsync etc. to no avail. The
resulting file is always a data fork only, containing all of the data - but
in the wrong fork.
This is Xcode 2.5, on Mac OSX 10.4.11 - sorry for the ancient versions!
Thanks,
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
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