Re: Xcode 4.1, Copying large amount of files
Re: Xcode 4.1, Copying large amount of files
- Subject: Re: Xcode 4.1, Copying large amount of files
- From: Jens Alfke <email@hidden>
- Date: Thu, 28 Jul 2011 19:00:04 -0700
On Jul 28, 2011, at 6:50 PM, Brian Barnes wrote: I was just wondering if there is a better way to go about this. I'm working on a port of dim3 for the iPad, and dim3 needs project files to run. These project files (the demo, which I'm testing with) can run up to 100+ meg (yes, in the future, projects for the iPad should be smaller and have less hi-res art). I just created a runs script phase to "cp" the entire folder to inside the built app. This all works great.
A trick I’ve seen is to use rsync instead of cp. This will intelligently copy over only those files that are different on the source and destination. It’s extremely fast if nothing’s changed.
Also, have you tried using a Copy Files build phase instead, since that’s what it’s for? It might have similar intelligence about avoiding redundant copies.
—Jens |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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