Re: The ghost in the bundle
Re: The ghost in the bundle
- Subject: Re: The ghost in the bundle
- From: Ron Fleckner <email@hidden>
- Date: Fri, 30 Oct 2009 21:05:20 +1100
Ok. By the way, did Graham's suggestion to do a clean and build
overcome your 'ghost in the bundle' problem?
Ron
On 30/10/2009, at 8:17 PM, Pierre Berloquin wrote:
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@hidden>
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@hidden)
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:
This email sent to email@hidden