pbxcp and resource forks
pbxcp and resource forks
- Subject: pbxcp and resource forks
- From: Marco Scheurer <email@hidden>
- Date: Wed, 25 Jan 2006 15:10:49 +0100
Hi,
We have a framework that needs to include in its Resources some old
driver code that comes in a file with a resource fork. It looks like
pbxcp does not preserve the resource fork, and the built framework is
therefore broken.
Our workaround has been to include a zip of the relevan file and to
add this build script phase:
rm -rf $BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/*.amcamera
cd $BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH
for path in *.zip
do
ditto -k -x --rsrc $path .
done
rm $BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/*.zip
However we've got a problem when the framework is itself copied in
another application: the resource fork is stripped again.
Any better idea?
Thanks in advance,
marco
Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
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