Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
pbxcp and resource forks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pbxcp and resource forks



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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.