I think I need a copy files build phase because I plan successive versions, each with its own bunch of specific pictures, and all of them distinct from the basic navigation pictures and icons.
Starting each time from scratch doesn't seem to be the right iPhone philosophy so there must be a catch somewhere. Pierre 2009/10/30 Ron Fleckner <[email protected]> > > On 30/10/2009, at 3:16 PM, Graham Cox wrote: > > >> On 30/10/2009, at 2:51 PM, Pierre Berloquin wrote: >> >> It looks like the app is going to carry a ghost load forever, that I >>> don't >>> need. >>> What can I do? >>> >> >> >> Are you sure you did a clean build? If not, the new folder will be added, >> but the OLD resources are not moved or deleted, so they'll still be there. >> >> --Graham >> > > I concur. > > But, Pierre, why do you think you need a copy files build phase? That's a > question, not a rhetorical statement. To explain: my experience is that if > I want to add a bunch of resource type files to a project, I select the > Resources folder in the Groups and Files pane on the left of the Xcode > project window. Then I cntrl-click and choose "Add existing files..." and > navigate to my folder of jpgs or sound files or whatever and choose them. > Then, in code, one can do > > myArray = [[NSBundle mainBundle] pathsForResourcesOfType:@"jpg" > inDirectory:@"myJpgsFolder"]; > > Ron > > -- Blogs : http://bibliobs.nouvelobs.com/blog/jeux-litteraires http://pierre-berloquin.blogspot.com/ Développement durable des neurones par le jeu de réflexion www.crealude.net Sustainable development of neurones through mind games www.crealude.net/us Que fait-on pour les mal-codants ? _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
