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: Andreas Grosam <email@hidden>
- Date: Fri, 29 Jul 2011 09:45:51 +0200
On Jul 29, 2011, at 3:50 AM, 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.
>
> Except it adds a good pause and a lot of disk thrashing every time I build. I can't imagine doing this on the iPad itself over USB :)
You should also check if a "Clean" actually removes the files, too.
>
> Is there a better way to go about this? Would symbolic links work if I was only testing on the simulator?
Like Jens, I've used rsync, too. However, you should write a more elaborated script to make the use of it in Xcode correct and fool proof. rsync is quite cool, but if you use it carelessly, you may loose files, or keep old ones on places where you don't want them.
I haven't investigated the current Xcode's Copy File feature intensively, but I would much more appreciate it if the Xcode team could integrate rsync or a similar solution. If Copy Files does not satisfy you, you should file an enhancement request.
Regards
Andreas
_______________________________________________
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