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 15:52:07 +1100
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
_______________________________________________
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