• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
pbxcp and resource forks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: pbxcp and resource forks
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Copying an Xcode project
  • Next by Date: Re: Copying an Xcode project
  • Previous by thread: Re: Can't fork a new process to execute "Resource temporarily unavailable"
  • Next by thread: Re: pbxcp and resource forks
  • Index(es):
    • Date
    • Thread