Attempting to delete an audio file from a project

I can not get rid of the audio file in my iOS project. I used it in the supporting files folder, but deleted it (moved it to the trash, not just the link).

It is still matched by this line of code in my DetailViewController:

NSArray* soundFilesArray = [[NSBundle mainBundle] pathsForResourcesOfType:@"wav" inDirectory:nil];

I'm sure this is something simple, but I'm still pretty new to this, so I'm confused about how Xcode finds the file. Having looked everywhere in the Xcode project, I even looked through all the folders (in the Terminal) and did not find anything. I also did Clean (Product> Cleanliness).

+1
source share
2 answers

The file is cached in your .app file. To do this, follow these steps:

1) Open Organizer

2) Click Projects

3) Find your project in the left panel and click

4)

5) () Finder, , " "

6) . XCode .

+3

, , ( , iPhone iPad, ). , . , XCode, , , , .

+2

All Articles