Im experiencing some issues related to playback of some wav files. I added the wav files earlier by drag-and-dropping them into my Supporting files folder. Now for some reason it will always play the sound of one particular file i tested earlier, and nothing else.
The wierd thing is that i deleted all the files and moved them to the trashbin - but still the same file will playback. It doesnt even exist! Any ideas how i can fix this? I tried Product > Clean already, and that didnt help. Here is a part of my code that I use to play the sound with:
//initiate sound
SystemSoundID completeSound = nil;
//yellow folder doesnt need folder
//blue folder (true folder) will need to use subdirectory:@"dirname"
NSURL *audioPath = [[NSBundle mainBundle] URLForResource:target_sound_filename withExtension:@"wav"];
AudioServicesCreateSystemSoundID((__bridge CFURLRef)audioPath, &completeSound);
AudioServicesPlaySystemSound (completeSound);