SystemSoundID soundID;
NSString *soundFile = [[NSBundle mainBundle]
pathForResource:@"deathsc" ofType:@"mp3"];
AudioServicesCreateSystemSoundID((__bridge CFURLRef)
[NSURL fileURLWithPath:soundFile], & soundID);
AudioServicesPlaySystemSound(soundID);
}
Whenever I run this bit of code on the simulator, it works perfectly (and sounds terrifying), but when I run it on my iPad, the game freezes and if I touch the screen, I get a sigkill error